This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC 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]

Compiling with -msoft-float


Hello All

I am developing a quasi realtime DSP application in C++ that is to be
ported later to an ARM processor. As far as i know this processor does
not have an FPU.
To get an estimate on the performance penalty, i tried to g++ -o MyTest
MyTest.cpp -msoft-float on the development machine (Suse 9.1
proffesional) but i get a load of linker errors reporting that specific
low level math instructions "can not be found"

After a search through the internet and the gcc mailing lists i found
out a lot of fragmeneted information about this subject.

Could you please provide a simple walk through procedure where a "Hello
Soft Floating Point World" is compiled with -msoft-float succesfuly? (If this is possible...Or any other helpful comment on the subject?)


In case i have not looked thoroughly, could you please provide any
links, books, physical places, that compiling with soft floating point
is dealt with in detail?

All the best.
thanOS


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