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.

Vincent
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to