How to add custom options? The wiki of fpmake gives: T.Options:= '-dSOMEDEFINE'; T.Options:= T.Options + ' -xyzAnythingYouNeed';
I tried a simple example: T.Options:='-gl -vh'; And I got: Executing command "/usr/local/bin/fpc -Tdarwin -FUunits/i386-darwin -Fu/usr/local/lib/fpc/2.2.4/units/i386-darwin/rtl "-gl -vh" allcodetoolunits.pp" Error: Illegal parameter: -gl -vh Apparently the Options are passed in "" which is read by FPC as one parameter. Mattias _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal