[fpc-pascal] Is $fpctarget defined on all targets?

Aleksa Todorovic alexione at gmail.com
Sun Dec 6 18:13:27 CET 2009

On Sun, Dec 6, 2009 at 17:13, Jonas Maebe <jonas.maebe at elis.ugent.be> wrote:
> On 06 Dec 2009, at 17:01, Aleksa Todorovic wrote:
>> I've just started porting an application from Java to FPC (current
>> targets are Win32 and Linux). I can successfully compile and run
>> initial tests on both targets. The problem I have is with -FU
>> parameter. When I execute
>> fpc -FUunits/$fpctarget test_client
>> on Windows, it correctly outputs .o, .ppu, .a and other generated
>> files to units/i386-win32 (btw, I need to create directory i386-win32
>> manually).
> On Unix platforms, $x is used in shells to denote the contents of shell variable x. If x is undefined, it's considered to be empty.
> You therefore have to escape the $: fpc -FUunits/\$fpctarget test_client

Ok, I understand. Thanks for your help!

More information about the fpc-pascal mailing list