This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


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: How to make crosstool support for VFP software fp format?


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


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