This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
What is the minimum acceptable optimization for compiling glibc?
- From: "Howard B. Golden" <hgolden at socal dot rr dot com>
- To: libc-help at sourceware dot org
- Date: Sat, 5 Dec 2009 13:06:13 -0800
- Subject: What is the minimum acceptable optimization for compiling glibc?
- Reply-to: howard_b_golden at yahoo dot com
Hi,
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!
Howard B. Golden