Re: Fwd: gcc does not honor -fno-leading-underscore flag?

2008-04-23 Thread [EMAIL PROTECTED]
Brian Dessent wrote: [EMAIL PROTECTED] wrote: I do not know how to get rid of the leading underscores in Cygwin. I have other sources compiled in Linux, and they do not have a leading underscore added. As I understand it, the -fleading-underscore flag is only useful to add a

Re: Fwd: gcc does not honor -fno-leading-underscore flag?

2008-04-23 Thread Brian Dessent
[EMAIL PROTECTED] wrote: You may be right. But then this is strange for me. I would guess that either -fleading-underscore or -fno-leading-underscore do something, but not both doing nothing. So if a target does have a leading underscore and then -fleading-underscore does nothing on it

Re: Fwd: gcc does not honor -fno-leading-underscore flag?

2008-04-23 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to [EMAIL PROTECTED] on 4/23/2008 8:27 AM: | As I understand it, the -fleading-underscore flag is only useful to add | a leading underscore for targets that do not have a leading underscore, | like linux. It won't accomplish anything on

Fwd: gcc does not honor -fno-leading-underscore flag?

2008-04-22 Thread san . temporal
Hi, I have been scratching my head for a while... to no avail. I have compiled a simple source file with and without -fno-leading-underscore flag, and the objects generated seem to have exactly the same names for all symbols, always having a leading underscore. What I do: 1- Compile the source

Re: Fwd: gcc does not honor -fno-leading-underscore flag?

2008-04-22 Thread Brian Dessent
[EMAIL PROTECTED] wrote: I do not know how to get rid of the leading underscores in Cygwin. I have other sources compiled in Linux, and they do not have a leading underscore added. As I understand it, the -fleading-underscore flag is only useful to add a leading underscore for targets that do