facing ERROR:... uses VFP instructions...
Nick Clifton
nickc@redhat.com
Mon Oct 8 10:02:00 GMT 2007
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
More information about the Binutils
mailing list