[tex-live] Re: new binaries

Olaf Weber olaf at infovore.xs4all.nl
Sat Sep 25 11:23:01 CEST 2004


Gerben Wierda writes:

> I was wondering if we could not remove the -g flag from a normal
> compile. Who is debugging anyway? Developers? But they have deep
> control over what is happening anyway. So, why shouldn't the default
> build not be without symbols and optimized?

On many platforms stripping a binary will make it smaller even if it
wasn't compiled with -g.  Trivial example:

$ cc -O2 tst.c -o tst-O2
$ cc -O2 -g tst.c -o tst-O2-g
$ ls -l tst-*
-rwxr-xr-x    1 olaf     olaf        11799 Sep 25 11:18 tst-O2*
-rwxr-xr-x    1 olaf     olaf        12191 Sep 25 11:18 tst-O2-g*
$ strip tst-O2
$ strip tst-O2-g
$ ls -l tst-*
-rwxr-xr-x    1 olaf     olaf         2844 Sep 25 11:18 tst-O2*
-rwxr-xr-x    1 olaf     olaf         2844 Sep 25 11:18 tst-O2-g*

-- 
Olaf Weber

               (This space left blank for technical reasons.)



More information about the tex-live mailing list