majess wrote:
> Hello ,all
> I'm trying to build a toolchain for Debian linux (Etch) with kernel
> 2-6-15.
> I've downloaded
> bu-2.16.1_gcc- 4.0.2-c-c+ +_nl-1.14. 0_gi-6.4_ x86-64.tar. bz2 file from
> www.gnuarm.org file download section.
> After that I've unpacked it to destination folder and add appropriate
> PATH to PATH environment.
> When I try to execute arm-elf-gcc I've got:
> bash: /home/majess/ Praca/ARM/ gnuarm-4. 0.2/bin/arm- elf-gcc: cannot
> execute binary file
>
> My question is: maybe I haven't got appropriate binaries for Debian?
If
> yes........what I should do ??
> Have anybody tried to build toolchain for ARM7 (I've got starterkit
> built by myself with LPC2131) at Debian or another Unix like OS? Could
> anybody give me some hints and on what things I should pay extra
> attention?
>
I build my toolchain from source on a Mandriva-2006 system:
http://www.openhardware.net/?title=ARM%20Thumb%20tools%20for%20LPC2000&dir=ArmTools&file=ThumbToolchain.html
That is binutils-2.16.1, gcc-4.0.2, newlib-1.13 and Insight-6.4. The
toolchain is a Thumb or ARM32, depending on the -mthumb switch.
I don't bother coding in C++, IMO, C++ is not suitable for use on
embedded systems. However, you may take what I have and build from there?
Regards,
TomW
--
Tom Walsh - WN3L - Embedded Systems Consultant
http://openhardware.net, http://cyberiansoftware.com
"Windows? No thanks, I have work to do..."
----------------