X-Recipient: archive-cygwin AT delorie DOT 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 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 AT cygwin DOT com, san DOT temporal AT gmail DOT com Subject: Re: Fwd: gcc does not honor -fno-leading-underscore flag? References: <89ed9b610804221310p4ba3bdf1gf2cd40030793bd34 AT mail DOT gmail DOT com> <89ed9b610804221319g6e9e6c7cm1077c64cb1f32dda AT mail DOT gmail DOT com> <480E4A57 DOT 2EF8731A AT dessent DOT net> <480F4734 DOT 7000705 AT gmail DOT 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 AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 According to san DOT temporal AT gmail DOT 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 AT byu DOT 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/