Re: cc optimisation levels ?

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Sat, 20 Jan 2001 16:20:24 +0100

Adrian Chadd wrote:

> Personally, I think -O is enough right now, but I'd like to let
> people experiment by modifying the optimisation level without needing
> to tweak configure.

The standard "configure" way is to set CFLAGS prior to invoking
configure..

You can also do it when you invoke make. My test-build script reads:

# Build
make -j 2 install AC_CFLAGS="-g -O2 -Wall -Werror -D_REENTRANT"

/Henrik
Received on Sat Jan 20 2001 - 08:19:17 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:13:25 MST