This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gcc linker flags


Ken Brown wrote:
> 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?

  You could equally say "All or some of them are needed in most cases, but
hopefully the compiler and toolchain will take care of it for you in future
and you won't have to bother about them".

    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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]