|AIX Linker Question: Symbol and garbage removal at link time? firstname.lastname@example.org (Wayne Long) (1998-07-01)|
|Re: AIX Linker Question: Symbol and garbage removal at link time? email@example.com.OZ.AU (1998-07-03)|
|From:||firstname.lastname@example.org.OZ.AU (Fergus Henderson)|
|Date:||3 Jul 1998 00:41:35 -0400|
|Organization:||Computer Science, The University of Melbourne|
Wayne Long <email@example.com> writes:
>[ strip shrank my objects by 100K ]
>My question is, instead of using strip, aren't there options on the
>AIX compiler to do the same thing? I am wondering why these options
>aren't the default?
This is a good question. Many compilers do have a `strip' option,
e.g. with gcc it is `-s', but for some reason it is not the default,
even if you don't specify `-g' during linking.
For the Mercury implementation, I made it pass the appropriate options
to the linker to build a stripped executable by default, unless you
explicitly specified `-g' or `--no-strip'.
No-one has ever complained about this.
Fergus Henderson <firstname.lastname@example.org>
PGP: finger email@example.com
Return to the
Search the comp.compilers archives again.