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]

link errors with mcpu=xscale


Hi
I had to disable the -mcpu=xscale flag in order to get ecos linked to libgcc.a
while compiling for a PXA target.
gcc 3.2.2 and binutils 2.12.1 configured 'by the book'

with the flag I get errors like this because of different floating point ABI in armv4 and armv5

/usr/local/lib/gcc-lib/arm-elf/3.2.2/../../../../arm-elf/bin/ld: ERROR: /usr/local/lib/gcc-lib/arm-elf/3.2.2/libgcc.a(_clz.o) uses FPA instructions, whereas /home/jani/work/build/pxa/mpc/install/bin/redboot.elf uses VFP instructions

google showed people having similar problems on linux-arm etc
How did Xscale users on this list get this solved since I see the flag is on by default?

thanks
Jani.

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


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