Cross compilation issue (Gtk+tinyX)



Title: Cross compilation issue (Gtk+tinyX)

Hi group,
   I was trying to cross compile GTK with tinyx backend. When i cross compiling xlibs, i am getting the following errors. As i understood, the files ccimake and imake are arm executables, since i am setting up cross development platform in my i386, why it sholud run these two. Is there any way to overcome this. Or is there any document or help from any body who did the same is welcome.
Please see the error message below.

[root localhost xc]# make World CROSSCOMPILEDIR=/root/crslib/arm/3.3.1/bin

Building Release 6.7.

I hope you checked the configuration parameters in ./config/cf
to see if you need to pass BOOTSTRAPCFLAGS.

Tue Mar 20 16:07:17 IST 2007

cd ./config/imake && make  -f Makefile.ini BOOTSTRAPCFLAGS="" CC="arm-linux-gcc" clean
make[1]: Entering directory `/root/softwares/tinyx_gtk+res/xc/config/imake'
rm -f ccimake imake.o imake
rm -f *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a tags TAGS make.log \#*
rm -f -r Makefile.proto Makefile Makefile.dep bootstrap
rm -f imakemdep_cpp.h
make[1]: Leaving directory `/root/softwares/tinyx_gtk+res/xc/config/imake'
make  Makefile.boot
make[1]: Entering directory `/root/softwares/tinyx_gtk+res/xc'
cd ./config/imake && make -w -f Makefile.ini BOOTSTRAPCFLAGS="" CC="arm-linux-gcc"
make[2]: Entering directory `/root/softwares/tinyx_gtk+res/xc/config/imake'
making imake with BOOTSTRAPCFLAGS= and CROSSCOMPILEFLAGS=-DCROSSCOMPILEDIR="/root/crslib/arm/3.3.1/bin" in config/imake
arm-linux-gcc -o ccimake -DCROSSCOMPILEDIR=\"/root/crslib/arm/3.3.1/bin\"  -O -I../../include -I../../imports/x11/include/X11 ccimake.c
if [ -n "/root/crslib/arm/3.3.1/bin" ] ; then \
/root/crslib/arm/3.3.1/bin/arm-linux-gcc -E `./ccimake` \
-DCROSSCOMPILE_CPP imakemdep.h > imakemdep_cpp.h; \
else touch imakemdep_cpp.h; fi
/bin/sh: ./ccimake: cannot execute binary file
arm-linux-gcc -c  -O -I../../include -I../../imports/x11/include/X11 `./ccimake` imake.c
/bin/sh: ./ccimake: cannot execute binary file
arm-linux-gcc -o imake  -O -I../../include -I../../imports/x11/include/X11 imake.o
make[2]: Leaving directory `/root/softwares/tinyx_gtk+res/xc/config/imake'
rm -f ./config/makedepend/Makefile.proto
./config/imake/imake -I./config/cf  -s ./config/makedepend/Makefile.proto -f ./config/makedepend/Imakefile -DTOPDIR=../.. -DCURDIR=./config/makedepend
./config/imake/imake: ./config/imake/imake: cannot execute binary file
make[1]: *** [config/makedepend/Makefile.proto] Error 126
make[1]: Leaving directory `/root/softwares/tinyx_gtk+res/xc'
make: *** [World] Error 2
[root localhost xc]#


With regds,



Shyjumon N
Mobile: +91-9945006965




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]