From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from web43146.mail.sp1.yahoo.com (web43146.mail.sp1.yahoo.com [216.252.121.114]) by ozlabs.org (Postfix) with SMTP id DC82BDDE1B for ; Wed, 14 Mar 2007 10:18:35 +1100 (EST) Date: Tue, 13 Mar 2007 10:23:16 -0700 (PDT) From: patel nirav Subject: gcc -static To: rtai@rtai.org, linux ppc MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1446146114-1173806596=:37968" Message-ID: <15137.37968.qm@web43146.mail.sp1.yahoo.com> List-Id: Linux on Embedded PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , --0-1446146114-1173806596=:37968 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit 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? Loosen up... Download and play hundreds of games for free on Yahoo! Games. --0-1446146114-1173806596=:37968 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: 8bit 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? Loosen up...
Download and play hundreds of games for free on Yahoo! Games. --0-1446146114-1173806596=:37968-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mu-out-0910.google.com (mu-out-0910.google.com [209.85.134.185]) by ozlabs.org (Postfix) with ESMTP id 4BB5BDDECD for ; Wed, 14 Mar 2007 10:41:25 +1100 (EST) Received: by mu-out-0910.google.com with SMTP id w9so2754821mue for ; Tue, 13 Mar 2007 16:41:23 -0700 (PDT) Message-ID: <45F736A0.3050806@gmail.com> Date: Tue, 13 Mar 2007 23:41:20 +0000 From: Ameet Patil MIME-Version: 1.0 To: patel nirav Subject: Re: gcc -static References: <15137.37968.qm@web43146.mail.sp1.yahoo.com> In-Reply-To: <15137.37968.qm@web43146.mail.sp1.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Cc: rtai@rtai.org, linux ppc List-Id: Linux on Embedded PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , "-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? > Loosen up... > Download and play hundreds of games for free > on Yahoo! > Games. > ------------------------------------------------------------------------ > > _______________________________________________ > Linuxppc-embedded mailing list > Linuxppc-embedded@ozlabs.org > https://ozlabs.org/mailman/listinfo/linuxppc-embedded From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from revere.aoc.nrao.edu (revere.aoc.nrao.edu [146.88.1.15]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTP id 23F23DDE1B for ; Wed, 14 Mar 2007 10:18:32 +1100 (EST) Message-ID: <45F6E0C7.30403@nrao.edu> Date: Tue, 13 Mar 2007 11:35:03 -0600 From: Thomas Juerges MIME-Version: 1.0 To: patel nirav Subject: Re: gcc -static References: <15137.37968.qm@web43146.mail.sp1.yahoo.com> In-Reply-To: <15137.37968.qm@web43146.mail.sp1.yahoo.com> Content-Type: text/plain; charset=ISO-8859-15 Cc: rtai@rtai.org, linux ppc List-Id: Linux on Embedded PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 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. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) iD8DBQFF9uDGMiyRSD9s+zURAlvnAJ41AjtlgyJFabQ98Nm0Ry1alNy1LgCfU9LY 5Yjt3BobB15FxEn5hXs+MAs= =KS0W -----END PGP SIGNATURE-----