[fpc-pascal] fpmake custom options

Mattias Gärtner nc-gaertnma at netcologne.de
Tue Apr 14 13:57:01 CEST 2009


Zitat von Michael Van Canneyt <michael at 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





More information about the fpc-pascal mailing list