Subject: Re: gcc -static

From: Ameet Patil <[email-masked]>
Date: Tue, 13 Mar 2007 23:41:20 +0000

"-static" option tells gcc to generate an executable that will run by itself. All the runtime libraries (eg. glibc) are linked into the application code to form one big executable.

-Ameet

patel nirav wrote:
> Hello all,
> Can any body tell me what is the use of " - static" option for gcc 
> compilation ?
>
>
>
> Nirav J Patel
> M.Tech(CSE),
> Nirma University,
> Ahmedabad-382481.
> 9925138959
>
> ------------------------------------------------------------------------
> Bored stiff? 
> <http://us.rd.yahoo.com/evt=49935/*http://games.yahoo.com> Loosen up...
> Download and play hundreds of games for free 
> <http://us.rd.yahoo.com/evt=49935/*http://games.yahoo.com> on Yahoo! 
> Games.
> ------------------------------------------------------------------------
>
> _______________________________________________
> Linuxppc-embedded mailing list
> [email-masked]
> https://ozlabs.org/mailman/listinfo/linuxppc-embedded