[Lazarus] RE : compiling lazarus on arm-linux

Ludo Brands ludo.brands at free.fr
Tue Feb 7 17:55:08 CET 2012



> -----Message d'origine-----
> De : Ajay Garg [mailto:ajaygargnsit at gmail.com] 
> Envoyé : mardi 7 février 2012 16:35
> À : ludo.brands at free.fr
> Cc : Felipe Monteiro de Carvalho; lazarus at lists.lazarus.freepascal.org
> Objet : Re: compiling lazarus on arm-linux
> 
> 
> Thanks Ludo.
> 
> It worked !!
> 
> Felipe,  I was right; I was stupid not to test with the 
> latest "fpc" version (2.6.0) :-|
> 
> (
>   Lazarus has been compiled and built successfully.
>   However, when I am invoking fpc from command line as
> 
> ==========================================================
>   fpc -S2cgi -O1 -gl -WG -vewnhi -l 
> -Fu/usr/lib/lazarus/lcl/units/$ARCH-$OS/
> -Fu/usr/lib/lazarus/lcl/units/$ARCH-$OS/
> -Fu/usr/lib/lazarus/lcl/units/$ARCH-$OS/gtk2/
> -Fu/usr/lib/lazarus/packager/units/$ARCH-$OS/ -Fu. 
> -o./magnifier -dLCL -dLCLgtk2 magnifier.dpr 
> ==========================================================
> 
>   I get the error :
> 
>   Error: Illegal parameter : -WG
> 
>   If you guys know the solution to this on top of your head; 
> please let me know. Else, I am already looking into the docs :-)
> )
> 
> 
> Thanks and Regards,
> Ajay
> 
> 

-WG is only used for windows and OS/2. Uncheck the windows gui option in
project options/linking. Save that as your default for new projects,

Ludo





More information about the Lazarus mailing list