[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] libjpeg



On Tue, 15 Jun 2010 13:07:44 , Vincent Rivière <vincent.riviere@freesbee.fr> wrote:
> Peter Slegg wrote:
> > I also removed the -g from the buid of libjpeg so that it builds without
> > debug and that makes HW smaller than it was last night.
>
> Be sure to strip the executables if you want to compare the sizes.
>
> Adding or removing -g when compiling sources should not affect the size
> or the performance of the final stripped executable.
>
> However, as I told previously, removing -g when linking the final
> executable is very important to avoid linking with the debug MiNTLib.
>

My plan was to remove the -g from the libjpeg makefile so that when
I rebuild the rpms they do not include the debug info.

I'll try to do this a patch that is used by the rpm spec.

Is this what everyone else does ?

Peter