Hello,
I am trying to compile the XFree86 for ARM. My only requirement is build standalone XPCOM. So I don't need to build fonts and all and my host.def looks like this
#define BuildFonts NO
#define CrossCompiling YES
I tried compiling the source but the compilation ends up in an error. Below is the full error description.
Can anyone please help me out. The google search doesn't return much pages.
Regards
--Himanshu
==============ERROR===============
/bin/sh: ./config/util/printver.exe: cannot execute binary file
Building XFree86.
I hope you checked the configuration parameters in ./config/cf
to see if you need to pass BOOTSTRAPCFLAGS.
Fri Jul 13 11:02:04 IST 2007
cd ./config/imake && make -f Makefile.ini BOOTSTRAPCFLAGS="" CC="cc" clean
make[1]: Entering directory `/home/heman/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 `/home/heman/xc/config/imake'
make Makefile.boot
make[1]: Entering directory `/home/heman/xc'
cd ./config/imake && make -w -f Makefile.ini BOOTSTRAPCFLAGS="" CC="cc"
make[2]: Entering directory `/home/heman/xc/config/imake'
making imake with BOOTSTRAPCFLAGS= and CROSSCOMPILEFLAGS=-DCROSSCOMPILEDIR="/home/heman/Desktop/Development/AT91-EK-Linux/tools/bin" in config/imake
cc -o ccimake -DCROSSCOMPILEDIR=\"/home/heman/Desktop/Development/AT91-EK-Linux/tools/bin\" -O -I../../include
ccimake.c
if [ -n "/home/heman/Desktop/Development/AT91-EK-Linux/tools/bin" ] ; then \
/home/heman/Desktop/Development/AT91-EK-Linux/tools/bin/cc -E `./ccimake` \
-DCROSSCOMPILE_CPP imakemdep.h
> imakemdep_cpp.h; \
else touch imakemdep_cpp.h; fi
/bin/sh: line 1: ./ccimake: cannot execute binary file
cc -c -O -I../../include `./ccimake` imake.c
/bin/sh: ./ccimake: cannot execute binary file
cc -o imake -O -I../../include imake.o
make[2]: Leaving directory `/home/heman/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 `/home/heman/xc'
make: *** [World] Error 2