This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: arm-elf toolchain doesn't work?
- From: Grant Edwards <grante at visi dot com>
- To: ecos-discuss at sources dot redhat dot com
- Date: Sun, 4 Jan 2009 18:26:36 +0000 (UTC)
- Subject: [ECOS] Re: arm-elf toolchain doesn't work?
- References: <gjqqop$7lo$1@ger.gmane.org>
On 2009-01-04, Grant Edwards <grante@visi.com> wrote:
> I just installed the Cygwin arm-elf toolchains using
>
> ecos-install.tcl --tools-only
>
> The gcc binary doesn't appear to be working. Invoking
> "arm-elf-gcc --version" produces no output and returns with an
> exit code of 53.
gcc appears to depend on a rather ancient verison of libintl.
Running Cygwin setup.exe and installing inbintl-1 and libintl-2
fixes the gcc issue.
The next problem appears to be that the arm-elf toolchain
doesn't support big-endian targets:
arm-elf-gcc -mcpu=arm7tdmi -mbig-endian -Wl,-Map,netecho.map -g -Wl,--gc-sections -nostartfiles -L../install/lib -o netecho.elf netecho.o boot.o -Ttarget.ld -nostdlib
/home/grante/gnutools/arm-elf/bin/../lib/gcc-lib/arm-elf/3.2.1/../../../../arm-elf/bin/ld: /home/grante/gnutools/arm-elf/bin/../lib/gcc-lib/arm-elf/3.2.1/libgcc.a(_udivsi3.o): compiled for a little endian system and target is big endian
File in wrong format: failed to merge target specific data of file /home/grante/gnutools/arm-elf/bin/../lib/gcc-lib/arm-elf/3.2.1/libgcc.a(_udivsi3.o)
[...]
/home/grante/gnutools/arm-elf/bin/../lib/gcc-lib/arm-elf/3.2.1/../../../../arm-elf/bin/ld: /home/grante/gnutools/arm-elf/bin/../lib/gcc-lib/arm-elf/3.2.1/libgcc.a(_ashldi3.o): compiled for a little endian system and target is big endian
File in wrong format: failed to merge target specific data of file /home/grante/gnutools/arm-elf/bin/../lib/gcc-lib/arm-elf/3.2.1/libgcc.a(_ashldi3.o)
collect2: ld returned 1 exit status
make: *** [netecho.elf] Error 1
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss