quoth the Alex Young:
> Nobuyoshi Nakada wrote:
> > --disable-frame-address configuration option is necessary to
> > use -fomit-frame-pointer.
>
> It's not just that...
>
> $ export CFLAGS="-Os -fomit-frame-pointer --disable-frame-address"
> $ ./configure
> checking build system type... i686-pc-linux-gnu
> checking host system type... i686-pc-linux-gnu
> checking target system type... i686-pc-linux-gnu
> checking for gcc... gcc
> checking for C compiler default output file name...
> configure: error: C compiler cannot create executables
> See `config.log' for more details.
>
> config.log led me to try this:
>
> $ gcc -Os -fomit-frame-pointer --disable-frame-address test.c
> cc1: error: unrecognised command line option "-fdisable-frame-address"
>
> Is it just my build of GCC (4.0.3)?

Shouldn't that be:

$ export CFLAGS="-Os -fomit-frame-pointer"
$ ./configure --disable-frame-address

?

-d
-- 
darren kirby :: Part of the problem since 1976 :: http://badcomputer.org
"...the number of UNIX installations has grown to 10, with more expected..."
- Dennis Ritchie and Ken Thompson, June 1972