gcc -static

Thomas Juerges tjuerges at nrao.edu
Wed Mar 14 04:35:03 EST 2007


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

On 03/13/2007 11:23 AM, patel nirav wrote:
> Hello all, Can any body tell me what is the use of " - static" option
> for gcc compilation ?

man gcc:

- -static
        On systems that support dynamic linking, this prevents linking
        with the shared libraries.  On other systems, this option has no
        effect.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQFF9uDGMiyRSD9s+zURAlvnAJ41AjtlgyJFabQ98Nm0Ry1alNy1LgCfU9LY
5Yjt3BobB15FxEn5hXs+MAs=
=KS0W
-----END PGP SIGNATURE-----



More information about the Linuxppc-embedded mailing list