Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Dec 2003 16:24:47 +0300
From:      Sergey 'DoubleF' Zaharchenko <doublef@tele-kom.ru>
To:        Daniela <dgw@liwest.at>
Cc:        questions@freebsd.org
Subject:   Re: Question about static libraries and compression
Message-ID:  <20031224162447.4e5cc8a6.doublef@tele-kom.ru>
In-Reply-To: <200312231832.04910.dgw@liwest.at>
References:  <200312231832.04910.dgw@liwest.at>

next in thread | previous in thread | raw e-mail | index | archive | help
--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 <dgw@liwest.at> 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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031224162447.4e5cc8a6.doublef>