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=<name>|<integer>[(+|,:)<name>|<integer>[...]]

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/

Reply via email to