[fpc-pascal] how to use macros on linux?

Mattias Gaertner nc-gaertnma at netcologne.de
Mon Apr 14 18:54:53 CEST 2014


On Mon, 14 Apr 2014 12:29:00 -0400
waldo kitty <wkitty42 at windstream.net> wrote:

> 
> when i try to compile a program on my non-GUI linux, it tells me that it can't 
> find the programs... hunh?
> 
> 
> fpc -FUlib/$(TargetCPU)-$(TargetOS) foo.pas

These are Lazarus macros.


> so how do i use macros to tell fpc where to place the unit libraries on linux 
> like i do for winwhatever??

fpc macro example:
fpc -FUlib/\$fpctarget foo.pas


Mattias
 


More information about the fpc-pascal mailing list