Zitat von Michael Van Canneyt <mich...@freepascal.org>: > > > On Tue, 14 Apr 2009, Mattias Gärtner wrote: > > > 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. > > Hm. That is a bug, we'll have to change that.
Should I create a bug report? Mattias _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal