How to make crosstool support for VFP software fp format?
Dimitry Andric
dimitry@andric.com
Mon Dec 11 08:34:00 GMT 2006
yan xiaotian wrote:
> linking object sirfapi ......
> arm-9tdmi-linux-gnu-gcc -o sirfapi opengprs.o sirfapi.o -L. -lGPSEngine -lm
> -lpthread
> /opt/crosstool/gcc-3.4.1-glibc-2.3.3/arm-9tdmi-linux-gnu/lib/gcc/arm-9tdmi-linux-gnu/3.4.1/../../../../arm-9tdmi-linux-gnu/bin/ld:
> ERROR: ./libGPSEngine.a(AGPS.o) uses *VFP* instructions, whereas
> *sirfapi*(our
> program) does not
This means that libGPSEngine.a was compiled with a different compiler
(at least, one with a different floating point setting). Just compile
everything with the same compiler, and you should be good to go.
--
For unsubscribe information see http://sourceware.org/lists.html#faq
More information about the crossgcc
mailing list