This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Re: IXDP425 redboot from CVS ld error


>>>>> Antonello Lombardinilo writes:

> Hi Mark,
> i update my source files from CVS this morning.
> I have recompiled. The compilation break with following error:

> arm-elf-gcc -mbig-endian -Wl,--gc-sections -Wl,-static -g -O2 -nostdlib -L/h
> ome/antonello/eCos/eCos_Dwld/ecos/IXDP425-redboot_RAM-build/install/lib -Tta
> rget.ld -o
> /home/antonello/eCos/eCos_Dwld/ecos/IXDP425-redboot_RAM-build/install/bin/re
> dboot.elf
> /home/antonello/eCos/eCos_Dwld/ecos/IXDP425-redboot_RAM-build/install/lib/ve
> rsion.o
> /gnutools/lib/gcc-lib/arm-elf/3.2.1/../../../../arm-elf/bin/ld: ERROR:
> /gnutools/lib/gcc-lib/arm-elf/3.2.1/be/libgcc.a(_udivsi3.o) uses FPA
> instructions, whereas
> /home/antonello/eCos/eCos_Dwld/ecos/IXDP425-redboot_RAM-build/install/bin/re
> dboot.elf uses VFP instructions

I'm using a gcc-3.3ish arm-elf toolchain with no problem. It looks like your
toolchain is using hard-float by default. You might try adding -msoft-float
to CFLAGS.

--Mark

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]