[plug] Debian Cross compiling
Timothy White
weirdit at gmail.com
Sun Nov 20 11:06:41 WST 2005
I want to start cross compiling from AMD64 to i386. Someone said to
use linux32, but that only tricks tools into thinking they are running
on a x86 and not a x86_64.
So reading http://www.mobilab.unina.it/Resources/crosscompilerHOWTO.html
and I think I may finally be able to get it working.
But when I try and compile binutils-i386 (debuild -uc -us) it fails :(
Below is the output of the error part, if that helps anyone.[1]
Anyone know an easier way? Or want to try and help?
Thanks
Tim
--
Linux Counter user #273956
[1]
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/usr/src/binutils-i386-linux-2.15/build/gas/po'
make[4]: Entering directory `/usr/src/binutils-i386-linux-2.15/build/gas'
gcc -DHAVE_CONFIG_H -I. -I../../src/gas -I. -D_GNU_SOURCE -I.
-I../../src/gas -I../bfd -I../../src/gas/config
-I../../src/gas/../include -I../../src/gas/.. -I../../src/gas/../bfd
-I../../src/gas/../intl -I../intl -DLOCALEDIR="\"/usr/share/locale\""
-W -Wall -Wstrict-prototypes -Wmissing-prototypes -g -O2 -c
../../src/gas/app.c
In file included from ./targ-cpu.h:1,
from ../../src/gas/config/obj-elf.h:42,
from ./obj-format.h:1,
from ../../src/gas/config/te-linux.h:4,
from ./targ-env.h:1,
from ../../src/gas/as.h:626,
from ../../src/gas/app.c:30:
../../src/gas/config/tc-i386.h:451: error: array type has incomplete
element type
make[4]: *** [app.o] Error 1
make[4]: Leaving directory `/usr/src/binutils-i386-linux-2.15/build/gas'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/src/binutils-i386-linux-2.15/build/gas'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/src/binutils-i386-linux-2.15/build/gas'
make[1]: *** [all-gas] Error 2
make[1]: Leaving directory `/usr/src/binutils-i386-linux-2.15/build'
make: *** [build-stamp] Error 2
debuild: fatal error at line 765:
dpkg-buildpackage failed!
More information about the plug
mailing list