From owner-freebsd-questions@FreeBSD.ORG Wed Dec 24 05:23:35 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4854A16A4CF for ; Wed, 24 Dec 2003 05:23:35 -0800 (PST) Received: from mx.tele-kom.ru (mx.tele-kom.ru [213.80.148.6]) by mx1.FreeBSD.org (Postfix) with SMTP id 54EEE43D55 for ; Wed, 24 Dec 2003 05:23:25 -0800 (PST) (envelope-from doublef@tele-kom.ru) Received: (qmail 50267 invoked by uid 555); 24 Dec 2003 16:23:24 +0300 Received: from hal.localdomain (213.80.149.199) by t-k.ru with TeleMail/2 id 1072272203-50252 for dgw@liwest.at; Wed, 24 Dec 16:23:23 2003 +0300 (MSK) Date: Wed, 24 Dec 2003 16:24:47 +0300 From: Sergey 'DoubleF' Zaharchenko To: Daniela Message-Id: <20031224162447.4e5cc8a6.doublef@tele-kom.ru> In-Reply-To: <200312231832.04910.dgw@liwest.at> References: <200312231832.04910.dgw@liwest.at> X-Mailer: Sylpheed version 0.9.6claws (GTK+ 1.2.10; i386-portbld-freebsd4.8) Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="pgp-sha1"; boundary="Signature=_Wed__24_Dec_2003_16_24_47_+0300_eBoRIzKehU/fggNI" cc: questions@freebsd.org Subject: Re: Question about static libraries and compression X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Dec 2003 13:23:35 -0000 --Signature=_Wed__24_Dec_2003_16_24_47_+0300_eBoRIzKehU/fggNI Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: 7bit On Tue, 23 Dec 2003 18:32:04 +0000 Daniela probably wrote: > I have a problem with linking: > When I invoke make, I always give it the -DNOSTATIC option on the commandline > to save space. However, this doesn't work. My system still builds static > libraries. Or are the binaries linked dynamically, and the static libs are > there for nothing? I guess it's safe to delete them, right? If you *know* no user will ever need them (he is not going to write programs which link statically), then it's all right. > Everything is self-compiled, I do not use binary packages at all. > > Also, I read that the kernel can execute gzipped a.out binaries directly, can > the same thing be done for ELF? I need a really small system, because I want gzexe. > to boot and run it from CD-ROM. Try putting the programs in a crunchbox, as it is done on most boot-floppies. Man crunchgen, chrunchide, etc. > Regards, > Daniela > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > -- DoubleF "I can resist anything but temptation." --Signature=_Wed__24_Dec_2003_16_24_47_+0300_eBoRIzKehU/fggNI Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQE/6ZOrwo7hT/9lVdwRAgf9AJ9E/Z1LtMrzYhepoiNSSHBMFvycOQCfcM+k XIGCNpA767kRWG0sghi312o= =6RXT -----END PGP SIGNATURE----- --Signature=_Wed__24_Dec_2003_16_24_47_+0300_eBoRIzKehU/fggNI--