This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


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: Success building seemingly native toolchain


Oron Peled wrote:
On Tuesday, 29 ×September 2009 18:48:23 Richard Strand wrote:
The toolchain is working perfectly for me and I've not run into any
problems yet. Changing to -O2 sounds like a good idea as long as it
doesn't break builds for any other architectures.

I'm not sure if it's related, but AFAIR g++ only consider inline
of C++ methods with -O2 or more (maybe some of the inline methods
are crucial for g++ or glibc itself).
It seems that if no CFLAGS are specified when compiling glibc then it automatically uses -O2. Hopefully this means that -O2 is safe, and is probably preferable to using -O.

Regards,

--Richard Strand


-- For unsubscribe information see http://sourceware.org/lists.html#faq


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