X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,DATE_IN_PAST_03_06,SPF_PASS X-Spam-Check-By: sourceware.org Message-ID: <49AC56FE.4080708@gmail.com> Date: Mon, 02 Mar 2009 22:00:30 +0000 From: Dave Korn User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: [1.7] rebaseall doesn't solve the problem References: <499F6682 DOT 1090204 AT cwilson DOT fastmail DOT fm> <20090224100616 DOT GC6035 AT calimero DOT vinschen DOT de> <49A85971 DOT 6070300 AT cwilson DOT fastmail DOT fm> <20090228104337 DOT GG19887 AT calimero DOT vinschen DOT de> <49A986B4 DOT 2080501 AT cwilson DOT fastmail DOT fm> <20090228195127 DOT GA26646 AT ednor DOT casa DOT cgf DOT cx> <20090228202850 DOT GB8503 AT calimero DOT vinschen DOT de> <20090302120756 DOT GA31166 AT calimero DOT vinschen DOT de> <49ABF7B5 DOT 5010605 AT cwilson DOT fastmail DOT fm> In-Reply-To: <49ABF7B5.5010605@cwilson.fastmail.fm> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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 Charles Wilson wrote: > Corinna Vinschen wrote: >> Btw., I just noticed that the Visual C++ Linker sets the TS-aware flag >> by default, see http://msdn.microsoft.com/en-us/library/01cfys9z.aspx >> >> It would probably be very helpful in the long run if ld had some generic >> option to set any of the Windows-specific header flags at build time. > > like perhaps a repeatable option Yep, this is exactly how I'm doing it. Patch will be posted shortly. Syntax looks like --pe-dll-characteristics=|[(+|,:)|[...]] e.g. --pe-dll-characteristics=0x0400|0x0100 --pe-dll-characteristics=1+128+1024,noseh,nobind --pe-dll-characteristics noseh:nobind:tsaware ... etc ... cheers, DaveK -- 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/