X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.7 required=5.0	tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,TW_CX,TW_JL,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
Message-ID: <4C5F79C5.1080907@gmail.com>
Date: Mon, 09 Aug 2010 04:45:09 +0100
From: Dave Korn <dave DOT korn DOT cygwin AT gmail DOT com>
User-Agent: Thunderbird 2.0.0.17 (Windows/20080914)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: gcc Cygwin package maintainer
References: <4C5D9100 DOT 3020601 AT verizon DOT net> <4C5DBE66 DOT 5060003 AT gmail DOT com> <4C5DE583 DOT 1020606 AT verizon DOT net>
In-Reply-To: <4C5DE583.1020606@verizon.net>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On 08/08/2010 00:00, Jerry DeLisle wrote:

> So I have sjlj backwards.  I will fix that. Then the following I am not
> sure about.
> 
> --disable-__cxa_atexit
> 
> --enable-static --enable-shared --enable-shared-libgcc
> 
> Shall I include these?

  Yes, do.  I think they're mostly the default anyway, but you definitely want
the cxa_atexit one for ABI compatibility of any DLLs you build with static cdtors.

  The --enable-shared stuff gets you DLLs built of all your runtimes, the
--enable-static gets you static versions.  You probably want those DLLs as
well as static library archives, since there are various correctness issues to
do with using shared libraries in your application that can only be solved by
using shared runtimes; it won't affect simple monolithic executables, but
anything you link against shared libraries from the rest of the distro could
break in various interesting ways.

    cheers,
      DaveK



--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple