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

toolchain problem, was: Cross-compilers i386->arm


many thanks for all the hints on cross-tools!

I think, that going "the Debian way" :-) would fit best.
Therefore, I did neither try the precompiled binutils/gcc
from emdebian (yet - maybe later...) nor did I want to
compile "by hand".  What I did ($ = user, # = root):

# apt-get install toolchain-source (version is 3.2-1)
$ cd /usr/src/
$ tpkg-make arm-linux
$ cd binutils-arm-linux-2.13/
$ debuild
$ ls ../*.deb
# debi
(Now the following commands are available:
arm-linux-addr2line  arm-linux-nm         arm-linux-size
arm-linux-ar         arm-linux-objcopy    arm-linux-strings
arm-linux-as         arm-linux-objdump    arm-linux-strip
arm-linux-c++filt    arm-linux-ranlib
arm-linux-ld         arm-linux-readelf)
$ cd ../gcc-arm-linux-3.2/
$ debuild

At this point, a problem hits me:

/usr/src/toolchain/patches/gcc//arm-tune.dpatch -patch -d src
patching file gcc/config/arm/arm.c
Hunk #1 succeeded at 494 (offset 64 lines).
patching file gcc/config/arm/linux-elf.h
configure.in:2120: /usr/bin/m4: ERROR: Recursion limit of 1024 exceeded, use -L<N> to change it
autom4te: /usr/bin/m4 failed with exit status: 1
make: *** [patch-stamp-arm-tune] Error 1
debuild: fatal error at line 456:
dpkg-buildpackage failed!

What can I do now?


Reply to: