A little help....
Ian Lance Taylor
Wed Jan 28 19:26:00 GMT 2004
"Dave Korn" <firstname.lastname@example.org> writes:
> Erm.... I may be being stupid, but when I've configured like this:
> $ ../../dlxtools/binutils/configure --target=dlx-elf
> --prefix=/artimi-src/gcc-build/install -v
> And I then type:
> $ CFLAGS='-g -O0' make all
> Why do my binutils get built with "-g -O2"? I thought using CFLAGS to set
> this stuff was standard, but actually when it comes to it I suppose I have
> only tried it with gcc before; does binutils have a different standard?
make CFLAGS='-g -O0' all
does what you want.
I think that's what you have to do for gcc as well. That is, you need
to pass CFLAGS to make, not just set it in the environment.
More information about the Binutils