Hello everyone! I'm trying to install "crosstool" from kegel.com in order to create an arm-linux-gcc toolchain for an ARM target. I'm using Slackware 9.0 as I'm using a program(Sim-panalyzer) which seems to install only on such old versions. The installation proceeds fine for about 30 mins until i get an error like
a - elf/dl-profstub.os
a - elf/dl-libc.os
a - elf/dl-sym.os
a - elf/dl-tsd.os
a - elf/unwind-dw2-fde-glibc.os
a - elf/framestate.os
make: *** [/home/muki/crosstool-0.43/build/arm-unknown-linux-gnu/gcc-4.1.0-glibc-2.3.2/build-glibc/libc_pic.a] Error 137
make: Leaving directory `/home/muki/crosstool-0.43/build/arm-unknown-linux-gnu/gcc-4.1.0-glibc-2.3.2/glibc-2.3.2/elf'
make: *** [elf/subdir_lib] Error 2
make: Leaving directory `/home/muki/crosstool-0.43/build/arm-unknown-linux-gnu/gcc-4.1.0-glibc-2.3.2/glibc-2.3.2'
make: *** [all] Error 2
Has anyone installed crosstool for an ARM target. If so, can you tell me which linux distro you used and also the gcc-glibc combination you opted for in creating the toolchain. I've tried so many combos and referred the build logs available at kegel.com but all have been in vain.
I tried using Ubuntu 9.04 but I wasn't able to install flex,bison etc which are needed for installing crosstool. When I give
sudo apt-get install flex, it says package not found.
I tried Linux Mint and I was able to install flex and bison but after some stage of the crosstool installation I got an error like
"these packages are either missing or too old: as ld"
Any help is greatly appreciated.