> I tried to compile gtk2 for arm linux.
> I download the package/extra/gtk2 source from svn server and I use the
> following command to compile it:
>
> make OS_TARGET="linux" CPU_TARGET="arm" FPCCPUOPT="O2" PP="ppcarm"
> COMPILER_OPTIONS="-CX -XX -Xs"
>
> With the original source (GTK2_2), it compiles successfully.
>
> Then I modifed gtk2/gtk+/gtk/gtk2.pas, and changed the following line
> {$define GTK2_2} to 2_4 or 2_6.
> The compilation errors are:
>
> Assembling gtk2
> Assembling with smartlinking gtk2
> /bin/sh: /usr/bin/ar: Argument list too long
> gtkdebug.inc(19,6) Error: Error while linking
> gtkdebug.inc(19,6) Fatal: There were 1 errors compiling module, stopping
> gtkdebug.inc(28,36) Error: Compilation aborted
> make: *** [buildgtk2.ppu] Error 1
>
> Can anybody help me to solve it?
Do not smartlink that unit, iow remove the -CX
_______________________________________________
fpc-pascal maillist - [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal