On Sun, Dec 6, 2009 at 17:13, Jonas Maebe <jonas.ma...@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!
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to