This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
RE: Modifying the LABEL for functions emitted by the GCC Compiler
Hi Rohit,
Note: your question is somewhat off topic to this forum. It's not really a GCC question, per se.
If your platform has the convention of leading underscore on C routines, you should have everything compiled with that convention.
Trying to mix with and without leading underscore conventions will be an exercise in frustration and futility.
If you have a library compiled one way, and other code compiled the other way, and you just REALLY have to get them to talk (and you have a lot of time and patience), you could write some springboard stub routines.
But I first strongly recommend just insuring everything is compiled with the same leading underscore convention.
HTH,
--Eljay
PS: please don't cross post to both the gcc and gcc-help forums.