https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123976

--- Comment #199 from Iain Sandoe <iains at gcc dot gnu.org> ---
(In reply to Peter Dyballa from comment #198)
> The -Os did not really make it to the build. In the build log this word does
> not appear. config.log logs:
> 
>   $ ../gcc-16-branch-gcc-16-1-darwin/configure --disable-libgomp
> --disable-multilib CC=powerpc-apple-darwin9-gcc
> CXX=powerpc-apple-darwin9-g++ STAGE1_CFLAGS=-Os -g -pipe STAGE1_CXXFLAGS=-Os
> -g -pipe
> 
> and GNU Emacs' configure log has recorded:
> 
> env PKG_CONFIG_PATH=/usr/lib/pkgconfig
> PATH=/bin:/usr/bin:/sbin:/usr/sbin:/opt/local/libexec/gcc10-bootstrap/bin
> LANG=C ../gcc-16-branch-gcc-16-1-darwin/configure --disable-libgomp
> --disable-multilib CC=powerpc-apple-darwin9-gcc
> CXX=powerpc-apple-darwin9-g++ STAGE1_CFLAGS="-Os -g -pipe"
> STAGE1_CXXFLAGS="-Os -g -pipe"
> 
> which is correct in my opinion…

That was not what was suggested - in fact I said 

"in the short-term leave everything configuration-wise as it is.. 

... but change your make command to:

make -jN STAGE1_CFLAGS="-Os -g -pipe" STAGE1_CXXFLAGS="-Os -g -pipe" >bld.txt
2>&1
"

and then when you asked....

"
> 
> So it's meant to add to configure's invocation at least STAGE1_CFLAGS="-Os
> -g -pipe" STAGE1_CXXFLAGS="-Os -g -pipe"?


Nope, not necessary - this is something that can be done selectively at
make-time and does not need to be applied to the configure.
"

....

I realise it's "only CPU cycles" to some extent- but it's also engineer cycles
to review stuff..

Reply via email to