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


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: facing ERROR:... uses VFP instructions...


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


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