[Mingw-users] [binutils] linker question
Jonathan Brandmeyer
jbrandmeyer@earthlink.net
Wed Jan 8 15:29:00 GMT 2003
More information about the Binutils mailing list
Wed Jan 8 15:29:00 GMT 2003
- Previous message (by thread): Fw: [Mingw-users] linker question
- Next message (by thread): Questions regarding m68k dynamic/shared code
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
----- Original Message ----- From: "Danny Smith" To: "binutils" <binutils@sources.redhat.com>; "Jonathan Brandmeyer" <...> Sent: Wednesday, January 08, 2003 5:17 AM Subject: Fw: [Mingw-users] linker question > > ----- Original Message ----- > From: "Jonathan Brandmeyer" <...> > To: <mingw-users@lists.sourceforge.net> > Sent: Monday, 6 January 2003 17:20 > Subject: [Mingw-users] linker question > > > > The GCC manual says that using -ffunction-sections and -fdata-sections > can > > be useful for some targets whose linker can take advantage of it. Can > the > > current MinGW ld make use of it or not? > > > > Thanks, > > Jonathan Brandmeyer > > > > The above was posted to mingw users list. My understanding is > that --gc-sections is not supported for pe-coff targets, but only for > elf targets. Is that correct? That is what I've seen in all of the relevant manuals. I guess what I'm really asking is: What kind of binary target is a WinTel system? > I also read in gcc info files: > "Only use these options when there are significant benefits from doing > so. When you specify these options, the assembler and linker will create > larger object and executable files and will also be slower." Which is exactly why I ask. > Also, by default, libstdc++-v3 is built with these options. If there are > no significant benefits. this needs to be changed for mingw32 and > cygwin. > > Danny > Thanks, Jonathan
- Previous message (by thread): Fw: [Mingw-users] linker question
- Next message (by thread): Questions regarding m68k dynamic/shared code
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list