Re: -fno-leading-underscore
Re: -fno-leading-underscore
- Subject: Re: -fno-leading-underscore
- From: Steve Checkoway <email@hidden>
- Date: Tue, 16 Nov 2004 19:08:11 -0800
On Nov 16, 2004, at 1:53 PM, Michael Hogsett wrote:
The -fno-leading-underscore to GCC appears to have no effect.
I don't know about this.
We have some lisp code which calls foreign functions. The foreign
function calls fail because all of the symbols have an underscore
prepended to their name.
...
How do I resolve this other than rewriting our lisp code? This does
not occur on Solaris, Linux, or FreeBSD.
$ cat foo.c
void foo() asm ("foo");
void foo() { }
$ gcc -c foo.c
$ nm foo.o
00000000 T foo
That should work for you.
- Steve
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden