ld --gc-sections should work for PE-COFF on MinGW.
MSVC has supported this feature (under the name of /OPT:REF) since time began.
As a result, GCC generates significantly larger executables than MSVC.
--
Summary: ld --gc-sections should work for PE-COFF on MinGW
Product: binutils
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: ld
AssignedTo: unassigned at sources dot redhat dot com
ReportedBy: andrea dot e dot gray at gmail dot com
CC: bug-binutils at gnu dot org
GCC build triplet: i686-pc-mingw32
GCC host triplet: i686-pc-mingw32
GCC target triplet: i686-pc-mingw32
http://sourceware.org/bugzilla/show_bug.cgi?id=11539
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
_______________________________________________
bug-binutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-binutils