This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Fwd: gcc does not honor -fno-leading-underscore flag?
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
According to san.temporal@gmail.com 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 one that already has it,
|> like PE.
|>
| 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.
I look at it this way: -fleading-underscore adds an underscore on
platforms where it is not necessary (and is a no-op on platforms where
leading underscore is already required); -fno-leading-underscore undoes
the effect of an earlier -fleading-underscore (removes the underscore
where possible, and is a no-op on platforms like cygwin where it is not
possible).
- --
Don't work too hard, make some time for fun as well!
Eric Blake ebb9@byu.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkgP/nsACgkQ84KuGfSFAYCnXgCePRD9+U8AZusRmgRqWeBjhtmK
sEEAn3hHttMrUCi21Ch13oC7aL5fZJL5
=pizv
-----END PGP SIGNATURE-----
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/