[Gambas-user] Another question about Gambas on ARM

Matteo Lisi matteo.lisi at ...2324...
Thu Nov 26 14:40:45 CET 2009


Hi !

I'm still engaged on Gambas in ARM...

This is my situation:

I download the gambas source and I want to compile gambas for ARM 9 target.

Usually I use a x86 linux machine for crosscompile my program.
The crosscompile that I use is "arm-none-linux-gnuabi" .

I configure the packet with this configure line (On the x86 Platform):

./configure --host=arm-none-linux-gnueabi -C 
--prefix=/data/GEA_M6425/ltib/rootfs/usr/local/
            --exec-prefix=/data/GEA_M6425/ltib/rootfs/usr/local/ 
--with-sdl-includes=/usr/include/SDL/
            --with-sdl-libraries=/usr/lib/ 
--with-libxml-includes=/usr/include/libxml2 
             --with-xslt-includes=/usr/include/libxslt --disable-corba 
--disable-qte --disable-kde
              --disable-sdl --disable-sdlsound --disable-xml 
--disable-v4l --disable-crypt
              --disable-opengl --disable-corba --disable-image 
--disable-desktop --disable-mysql 
              --disable-odbc --disable-postgresql --disable-sqlite2 
--disable-sqlite3 --disable-firebird
              --disable-gtk --disable-gtksvg  --disable-bzlib2 
--disable-zlib
             
and the configure step ends without error.

Next I "make" the source ,on the x86 platform yet ,and also this step 
ends without error.

The situation is that now I have on the x86 some ARM's binaries like 
"gbi2", and when I
"make install" the step ends with errors, because (I think !) the "make" 
invoke the gbi2 command
that is an ARM binaries....

If what I said is correct how I can do for port gambas on ARM ?

Is correct to crosscompile the gcc compile for ARM and then made 
"./configure make make install"
on the ARM platform ?

Did Someone do this operation , and if yes which compiler used ?





More information about the User mailing list