public inbox for linuxppc-dev@ozlabs.org 
 help / color / mirror / Atom feed
From: Ameet Patil <ammubhai@gmail•com>
To: patel nirav <indianirav@yahoo•com>
Cc: rtai@rtai•org, linux ppc <linuxppc-embedded@ozlabs•org>
Subject: Re: gcc -static
Date: Tue, 13 Mar 2007 23:41:20 +0000	[thread overview]
Message-ID: <45F736A0.3050806@gmail.com> (raw)
In-Reply-To: <15137.37968.qm@web43146.mail.sp1.yahoo.com>

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

      parent reply	other threads:[~2007-03-13 23:41 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-13 17:23 gcc -static patel nirav
2007-03-13 17:35 ` Thomas Juerges
2007-03-13 23:41 ` Ameet Patil [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=45F736A0.3050806@gmail.com \
    --to=ammubhai@gmail$(echo .)com \
    --cc=indianirav@yahoo$(echo .)com \
    --cc=linuxppc-embedded@ozlabs$(echo .)org \
    --cc=rtai@rtai$(echo .)org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox