This is the mail archive of the
cygwin
mailing list for the Cygwin project.
gcc linker flags
- From: Ken Brown <kbrown at cornell dot edu>
- To: cygwin at cygwin dot com
- Date: Sun, 17 May 2009 22:15:05 -0400
- Subject: gcc linker flags
I've seen builds by other people in which the following linker flags are
used:
(a) --enable-auto-import
(b) --enable-runtime-pseudo-reloc
(c) --enable-auto-image-base
My understanding is that (b) and (c) are already the default and that
(a) will be the default when binutils is updated. Moreover, (a) is
mostly used to suppress errors (though there are exceptions where it
makes a difference). So none of these are really needed in most cases.
Do I have it more or less right?
I'm mainly interested in gcc-4 in cygwin 1.7, but if the answers would
be different for gcc-3 or cygwin 1.5, I'd like to know that too.
Thanks.
Ken
--
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/