adding floating point support

Navid Toosizadeh navid_toosizadeh@yahoo.com
Fri Jan 23 22:43:00 GMT 2009


If I make a copy of fp-bit.c and add "#define float" to it and then compile the new file with the original one using the target's gcc compiler? 



----- Original Message ----
From: Navid Toosizadeh <navid_toosizadeh@yahoo.com>
To: gcc-help@gcc.gnu.org
Sent: Friday, January 23, 2009 2:44:55 PM
Subject: adding floating point support

Greetings,

Assume that we have gcc compiler for a target, and the gcc does not support floating point, but integers. Is there a simpler way rather than rebuilding the gcc to add support for floating point, for example by compiling fp-bit.c?
So basically, I'm asking for steps to add floating point support without going the difficult path of rebuildong and modifying gcc.

Best regards
Navid


      



More information about the Gcc-help mailing list