This is the mail archive of the libc-help@sourceware.org mailing list for the glibc 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: What is the minimum acceptable optimization for compiling glibc?


On Saturday 05 December 2009 16:06:13 Howard B. Golden wrote:
> I understand that it isn't possible to compile glibc without
> optimization. However, I would like to use the minimum acceptable
> optimization so I can trace how the dynamic loading code works, with the
> compiled code as close to the source as possible.
> 
> In other words, if I include -O1, can I then turn off some of the
> optimizations included in -O1 and still compile successfully? If so,
> what CFLAGS should I use? Thanks!

use -O1.  anything less and you're on your own.  the exact answer may depend  
on both the gcc version and the architecture/abi.
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.


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