What is gcc -s option?

Dan Osterrath do3 at mail.inf.tu-dresden.de
Thu Jan 9 13:56:30 PST 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> For dynamic executables, certain symbols are still needed at execute time
> because they depend on symbols that are defined (that is, equated to a
> real address) _at_the_time_of_execution.

I compiled every package with "-s", even in chapter 6 and other followings as 
my C{,XX}FLAGS = "-s -march=pentium3 -fomit-frame-pointer -O2". But I never 
run into problems.
So if some symbols are really needed for relocation then -s does not strip all 
symbols but unneded ones. I think it's equal to "strip --strip-unneeded". Am 
I wrong?

- -- 
- ----------------------------------------------------------------------
%> ln -s /dev/null /dev/brain
%> ln -s /dev/urandom /dev/world
%> dd if=/dev/world of=/dev/brain
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+HfAO9NbB8EM160MRAuxcAKCdD7aEG9T2QwYeqKVFuFF+phQ+oACg971H
HrMubuV9yhhmP5jPeFeLunw=
=91lj
-----END PGP SIGNATURE-----

-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-support' in the subject header of the message



More information about the lfs-support mailing list