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

Re: chroot setup howto



> Which i486 toolchain are you talking about? Because as far as I know we
> don't have an i486 toolchain.

The /usr/bin/tpkg-debarch file apparently lays out the architectures you can 
build toolchains in the Cross-Compile Environment to, including:
i[3456]86|i[3456]86-linux|ia32|ia32-linux).

My target platforms are the Via Nehemia and National Geode, which are 486.  So 
I am inferring this should be the build environment.


> I have seen your posts go by, but had not immediately time to respond to
> your questions. People are often very busy, so I am sorry if it took too
> long.

Ya everyone is busy, but I have been at this for three 12-hour days now.  I am 
about out of time I can budget to getting just the tools built.  It appears 
that the Cross-Compile Environment will simply not install.  Although doing 
this in Scratchbox seems far simpler, I doubt that anyone's used it.  I need 
at least the i486 toolchain in the Cross-Compile Environment, in order to 
function.  Following the instructions here scrupulously:
http://people.debian.org/~debacle/cross.html

... compiling the gcc package:

gcc_s.so.1.backup; else true; fi && mv libgcc_s.so.1.tmp libgcc_s.so.1 && ln 
-s libgcc_s.so.1 libgcc_s.so
./xgcc -B./ -B/usr/i486-linux/bin/ -isystem /usr/i486-linux/include 
-isystem /usr/i486-linux/sys-include 
-L/usr/src/gcc-i486-linux-3.4.3/build/gcc/../ld -O2  -DIN_GCC    -W -Wall 
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes 
-Wold-style-definition  -isystem ./include  -fPIC -g -DHAVE_GTHR_DEFAULT 
-DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED  -I. -I. -I../../src/gcc 
-I../../src/gcc/. -I../../src/gcc/../include   -m64 -DL_muldi3 
-c ../../src/gcc/libgcc2.c -o libgcc/64/_muldi3.o
Assembler messages:
Fatal error: No compiled in support for x86_64
make[5]: *** [libgcc/64/_muldi3.o] Error 1
make[5]: Leaving directory `/usr/src/gcc-i486-linux-3.4.3/build/gcc'
make[4]: *** [stmp-multilib] Error 2
make[4]: Leaving directory `/usr/src/gcc-i486-linux-3.4.3/build/gcc'
make[3]: *** [stage1_build] Error 2
make[3]: Leaving directory `/usr/src/gcc-i486-linux-3.4.3/build/gcc'
make[2]: *** [bootstrap-lean] Error 2
make[2]: Leaving directory `/usr/src/gcc-i486-linux-3.4.3/build'
s=`cat status`; rm -f status; test $s -eq 0
make[1]: *** [stamps/05-build-stamp] Error 1
make[1]: Leaving directory `/usr/src/gcc-i486-linux-3.4.3'
make: *** [stamps/05-build-stamp] Error 2
debuild: fatal error at line 764:
dpkg-buildpackage failed!
/usr/src/gcc-i486-linux-3.4.3 $

Carl Cook



Reply to: