"-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 protected] > https://ozlabs.org/mailman/listinfo/linuxppc-embedded _______________________________________________ Linuxppc-embedded mailing list [email protected] https://ozlabs.org/mailman/listinfo/linuxppc-embedded
