This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC 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]

Should -Os imply -shared-libgcc?


It occurred to me that on appropriate platforms, -shared-libgcc will
typically generate a slightly smaller program.  Does anybody have an
opinion on whether the use of -Os on the link line should imply
-shared-libgcc?

If we do that, it suggests that the linker should accept -Os on the
command line.  Right now gcc does not pass -O options to the linker,
although the GNU linker does accept them.  But those changes are a
separate issue.

Ian


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