Doubt with cross compile
Hello everybody
I would like to make my own cross compile for Geode (X86).
I have read several manuals first step is download binutils ans compile.
For example: binutils-2.19
../build-binutils/configure --target=i386-geode-linux --prefix=$PREFIX
make && make install
OK, next step is build bootstrap gcc.
gcc-4.5.0
../build-gcc/configure --target=i386-geode-linux --prefix=$PREFIX --without-headers --with-gnu-as --with-gnu-ld --disable-shared --disable-threads.
make all-gcc && make install-gcc
Ok, next step is building linux kernel to obtain linus headers.
export ARCH=i386
export CROSS_COMPILE=i386-geode-linux-
"Configure kernel with my own settings"
make dep && make clean && make zImage
Well, in this point i have a problem.
CC arch/x86/boot/video.o
arch/x86/boot/boot.h: message assembler:
arch/x86/boot/boot.h: 112: Error: Bad register name '%dil'
And finally, when I have tried to compile glibc, I have this error:
gconv_db.c:422:22: Error: 'INT_MAX' not define
Could somebody help me?
Best regards
John
|