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

2014-04-14 Thread waldo kitty
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 fpc is trunk installed via fpcup... [quote] user@machine:~/development/projects/misc$ ~/fpc -FUlib/$(TargetCPU)-$(TargetOS) foo.pas

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

2014-04-14 Thread Mattias Gaertner
On Mon, 14 Apr 2014 12:29:00 -0400 waldo kitty wkitt...@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

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

2014-04-14 Thread Sven Barth
On 14.04.2014 18:54, Mattias Gaertner wrote: 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 And just for explanation: the \$ is needed so that the shell does not treat the $fpctarget

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

2014-04-14 Thread waldo kitty
On 4/14/2014 12:54 PM, Mattias Gaertner wrote: On Mon, 14 Apr 2014 12:29:00 -0400 waldo kitty wkitt...@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