[Lazarus] compiling lazarus on arm-linux

Ajay Garg ajaygargnsit at gmail.com
Tue Feb 7 16:35:03 CET 2012


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


>Compiling lazarus with fpc 2.6.0 worked for me on arm debian sid. Fpc 2.6.0
>is in the debian sid repositories but can also be found here:
>http://sourceforge.net/projects/freepascal/files/Linux/2.6.0/. Lazarus from
>debian sid repo (0.9.30.2) isn't working correctly. Some patches to correct
>alignment errors didn't make it in that release. Lazarus from svn works fine
>though.

>Ludo




More information about the Lazarus mailing list