gcc -static

Ameet Patil ammubhai at gmail.com
Wed Mar 14 10:41:20 EST 2007


"-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
> Linuxppc-embedded at ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-embedded




More information about the Linuxppc-embedded mailing list