Steve Fryatt wrote:
/home/steve/GCCSDK/cross/lib/gcc/arm-unknown-riscos/4.1.1/../../../../arm-unknown-riscos/bin/ld:
ERROR:
/home/steve/GCCSDK/cross/lib/gcc/arm-unknown-riscos/4.1.1/scl/fpu/crtn.o
uses hardware FP, whereas !RunImage uses software FP
/home/steve/GCCSDK/cross/lib/gcc/arm-unknown-riscos/4.1.1/../../../../arm-unknown-riscos/bin/ld:
failed to merge target specific data of file
/home/steve/GCCSDK/cross/lib/gcc/arm-unknown-riscos/4.1.1/scl/fpu/crtn.o
All the libraries I've compiled myself (with the exception of OSLib,
perhaps) have had -mlibscl -mhard-float set, and the compile and link of the
project both do too, so that suggests that both sides should be using
hardware FP anyway.
Any suggestions on where to look?
There's very little in the Autobuilder that links against the SCL, so
the OSLib build is default options - soft-float for use with UnixLib.
DeskLib does however have two builds, since the SCL things in the AB
actually use that.
You have a few options:
- Make a SCL build of OSLib in the AB.
- Simply replace your soft-float OSLib library with one John supplied
for SCL
- Link against UnixLib, which will add 130K odd to your final binary
size.
_______________________________________________
GCCSDK mailing list [email protected]
Bugzilla: http://www.riscos.info/bugzilla/index.cgi
List Info: http://www.riscos.info/mailman/listinfo/gcc
Main Page: http://www.riscos.info/index.php/GCCSDK