Trying to reduce generated 4.9.2 footprint

Jonathan Wakely jwakely.gcc@gmail.com
Mon Apr 13 02:06:00 GMT 2015


On 12 April 2015 at 21:10, Ricardo Telichevesky wrote:
> I don't
> need to debug the compiler or any of the libraries at all, but is there any
> danger in getting rid of the -g flags?

There's no danger, you just won't be able to debug anything.

Wouldn't it be easier to just run strip on the final binaries instead
of trying to alter the build process?

> Also, can I get rid of the
> /opt/gcc/share that seems to contain only docs?

Yes.



More information about the Gcc mailing list