This is the mail archive of the gcc-patches@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]

Re: PING: PATCH Re: [DARWIN]: Add -mdynamic-no-pic to Darwin-specificoptions


Robert Bowdidge wrote:

Ping:

http://gcc.gnu.org/ml/gcc-patches/2004-08/msg01485.html

This change adds the flag "-mdynamic-no-pic" when compiling gcc itself on Darwin, improving the efficiency of gcc's code and thus improving compile times. On our compiler timing test projects, this change improved compile times by 3-5%. gcc still bootstraps after this change, and the flag was correctly applied to gcc but not to libraries.

See the original message for full details of the change, and see

http://gcc.gnu.org/ml/gcc-patches/2004-08/msg01165.html

for details of why this flag is needed on Mac OS X.

This version includes changes suggested by Mike Stump and Andrew Pinski. The compiler bootstraps on Darwin, and (for Apple folks) builds correctly using Apple's internal build tools.

Ok to submit to mainline?

Yes!


--
Mark Mitchell
CodeSourcery, LLC
(916) 791-8304
mark@codesourcery.com


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