[gccsdk] Problems building crosscompiler
peter at chocky.org
Tue Nov 10 16:30:21 PST 2009
Steve Fryatt wrote:
> uses hardware FP, whereas !RunImage uses software FP
> failed to merge target specific data of file
> 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
- Link against UnixLib, which will add 130K odd to your final binary
More information about the gcc