This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: facing ERROR:... uses VFP instructions...
- From: Nick Clifton <nickc at redhat dot com>
- To: srinivas naga vutukuri <srinivas dot vutukuri at gmail dot com>
- Cc: binutils at sourceware dot org
- Date: Mon, 08 Oct 2007 10:41:50 +0100
- Subject: Re: facing ERROR:... uses VFP instructions...
- References: <ace3f33d0710072309l44d94087kf1ba3e0615582600@mail.gmail.com>
Hi Srinivas,
am facing the ERROR: saying the file compiled uses VFP instructions
but the executable linking is not...
> ./xscale-elf/bin/ld: ERROR: file.o uses VFP instructions, whereas Test.exe
> does not
Check how the startup files (crt0.o, crtbegin.o) were compiled. The linker
will choose the settings of the various float-format-in-use and ABI-in-use
flags from the values set in the first object file it encounters on its command
line. (You can use the -v option to gcc so see the command line that it is
using to invoke the linker).
Make sure that these start up files are compiled by the same compiler as your
file.o and with the same set of command line options.
Cheers
Nick