Subject: Re: gcc -static

From: Thomas Juerges <[email-masked]>
Date: Tue, 13 Mar 2007 11:35:03 -0600

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.