What is gcc -s option?

Dan Osterrath do3 at mail.inf.tu-dresden.de
Thu Jan 9 14:44:29 PST 2003


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

> Apples and oranges. You are speaking of the strip command. The OP was
> regarding the 'gcc -s' command, which just passes '-s' to ld. Ld -s says
> ... HOLY CRAP! It says --strip-all. We should be passing -S
> (--strip-debug)?

I know that these are 2 different progs. I meant that the params have a common 
meaning but do not have the same effect.
I think "ld -s" does not relly strip all symbols as my libraries are all 
compiled with -s and they work fine. A "strip -s" in the library directories 
would create some kind of insomnia to me. ;-)
Although "ld -S" and "strip -S" should do the same.

Some kind of inconsistence...

- -- 
- ----------------------------------------------------------------------
%> 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+HftN9NbB8EM160MRAhdAAKDSt6gzclbl+5JJj3iwubOhujMlHwCfR7cu
h9SDb+s3t/T7RD5RPY/HYZ0=
=4jQv
-----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