🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: es.comp.os.linux.programacion
Article #10066

Re: Compilar estáticamente un programa

#10066
From: Tomás Sánchez Santos
Date: Mon, 08 Apr 2002 19:41
27 lines
1996 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

En es.comp.os.linux.programacion, crisp escribi�:

> Quisiera saber c�mo hay que hacer (o d�nde buscar informaci�n al
> respecto) para poder compilar este peque�o programa est�ticamente, de
> manera que pueda funcionar en cualquier ordenador aunque no tenga
> instalada la librer�a libgtop.

	Cuando compiles, a�ade la opcion -static

Saludos
- -- 
/--------------------------------------------------------------------\
| Tom�s S�nchez Santos	  tsanchez  at  escomposlinux . org          |
| Clave publica: http://perso.wanadoo.es/tomas-sanchez/tomas-gpg.asc |
\--------------------------------------------------------------------/

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8sfJw4IhFOpHaScYRArXxAKC/Qw2DGZuDVvcPCcLKMRGaCAgfbQCdExs/
9CXwVZF6sRrEO3W+sxcq/Xg=
=91Nu
-----END PGP SIGNATURE-----
Technical Details
Message-ID: <slrnab3sja.1hv.tsanchez@mortadelo.casa>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!fu-berlin.de!uni-berlin.de!62-37-122-206.dialup.uni2.ES!not-for-mail
References: <jco3bu41f0o5tah8r1bubsr3pp4pbk6lvc@4ax.com>

Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII
X-Google-Thread: f86c8,29e6044f3fa7b71d
X-Google-Attributes: gidf86c8,public
X-Google-ArrivalTime: 2002-04-08 12:56:21 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!fu-berlin.de!uni-berlin.de!62-37-122-206.dialup.uni2.ES!not-for-mail
From: Tomás Sánchez Santos
 <tsanchez@escomposlinux.org>
Newsgroups: es.comp.os.linux.programacion
Subject: Re: Compilar estáticamente un programa
Date: Mon, 8 Apr 2002 21:41:36 +0200
Lines: 27
Message-ID: <slrnab3sja.1hv.tsanchez@mortadelo.casa>
References: <jco3bu41f0o5tah8r1bubsr3pp4pbk6lvc@4ax.com>
Reply-To: tsanchez@escomposlinux.org
NNTP-Posting-Host: 62-37-122-206.dialup.uni2.es (62.37.122.206)
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-15
Content-Transfer-Encoding: 8bit
X-Trace: fu-berlin.de 1018295780 32698540 62.37.122.206 (16 [43504])
X-Orig-Path: 127.0.0.1!nobody
User-Agent: slrn/0.9.7.3 (Linux)