[fpc-pascal] Problem with compile Gtk2 for version 2.6

smartkenny smartkenny at gmail.com
Mon May 1 03:11:15 CEST 2006


Hello, all

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?
Thank you so much.




More information about the fpc-pascal mailing list