|
|
Subscribe / Log in / New account

MinGW and why Linux users should care

MinGW and why Linux users should care

Posted Nov 19, 2008 17:45 UTC (Wed) by tialaramex (subscriber, #21167)
In reply to: MinGW and why Linux users should care by cde
Parent article: MinGW and why Linux users should care

How much of this just consists of setting some flag fields in the output PE executable?

IIRC at least the NX compatibility and address randomisation are flags. If Microsoft are going to get praise for the improved backwards compatibility, they deserve all the blame for applications that don't get the benefits.

Providing suitable linker flags for MinGW that produce suitably flagged PE executables (perhaps by default) would be nice, but it shouldn't be difficult to do it by hand meanwhile.


to post comments

MinGW and why Linux users should care

Posted Nov 20, 2008 13:09 UTC (Thu) by PaXTeam (guest, #24616) [Link]

until binutils/ld gets proper support, one can use editbin.exe from VS to set these bits in the PE header (it's a console app, should run fine in wine).


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds