[fpc-pascal] Where is fpmkconv?

Darius Blaszijk dhkblaszyk at zeelandnet.nl
Sat Aug 11 23:16:38 CEST 2007



Vincent Snijders wrote:
> Darius Blaszijk schreef:
>> Do we need to use a "Case Installer.OS of" construct or can we 
>> implement$(CPU_TARGET) and $(OS_TARGET) as functions that return a 
>> string with the current targets?
>
>> I would say just replace the macros with {$I %FPCTARGETOS%} and {$I 
>> %FPCTARGETCPU%} but how do others feel?
>
> I think that won't work for cross compilation. It returns the targetos 
> where fpmake s running, not the targetos you want to compile too.
>
Are you shure? I mean once you have cross compiled the compiler, rtl and 
the lot using FPCTARGETOS or FPCTARGETCPU would yield the right 
information for that given compiler and rtl and the lot, not? Or do they 
give the actual system information? (which does not seem logical)

Darius



More information about the fpc-pascal mailing list