X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
X-Authority-Analysis: v=1.0 c=1 a=o_nbf_OpMPkA:10 a=zRUklaM2u_oA:10  a=xe8BsctaAAAA:8 a=Mr1mHOvozDzYeuNwPykA:9 a=RTJRlx_UGKW3DxmsydABexv2FKQA:4  a=MSl-tDqOz04A:10 a=eDFNAWYWrCwA:10 a=rPt6xJ-oxjAA:10
Message-ID: <480FFE7B.7030909@byu.net>
Date: Wed, 23 Apr 2008 21:28:59 -0600
From: Eric Blake <ebb9@byu.net>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.12) Gecko/20080213 Thunderbird/2.0.0.12 Mnenhy/0.7.5.666
MIME-Version: 1.0
To: cygwin@cygwin.com, san.temporal@gmail.com
Subject: Re: Fwd: gcc does not honor -fno-leading-underscore flag?
References: <89ed9b610804221310p4ba3bdf1gf2cd40030793bd34@mail.gmail.com> <89ed9b610804221319g6e9e6c7cm1077c64cb1f32dda@mail.gmail.com> <480E4A57.2EF8731A@dessent.net> <480F4734.7000705@gmail.com>
In-Reply-To: <480F4734.7000705@gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

-----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/

