This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Trying to reduce generated 4.9.2 footprint


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]