> On 21/06/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>> > If I leave the target filename blank (which I must), this gets handled
>> > correctly for me. Otherwise I need to manually rename the files for
>> > different platforms.
>>
>> This is not a valid reason, because if set the Target file name in the
>> project options to
>> 'test', it will create a test.exe on windows.
>>
>
> Strangely I never knew that! Thanks. :)
>
> Ok, so that solves half of the issue... I still think it is weird and
> confusing that 'Unit output directory (-FU)' = units gives a different
> result compared to the exact same compiler switch -FUunits in the
> 'Other' tab.
>
> Maybe the (-FU) hint in the label should be removed from the Paths tab
> so that it doesn't mislead you into thinking that it works the same as
> the -FU switch.
> To me 'Unit' mean the *.pas file and not the project executabe. I
> guess I'm the only one that thinks like that. FPC's command line help
> clearly says: -FE<x> set exe/unit output path to <x>
> There is a difference between exe and unit.
The -FE is exe and units. If in addition to -FE also a -FU is supplied you can
control the
location of the units to be in a different path than the exe. To control only
the location of the
executable and leave the units location unchanged you can use the -o option and
specify the full
path and name of the exe.
Peter
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives