Re: Question about static libraries and compression

2003-12-27 Thread Daniela
On Wednesday 24 December 2003 13:24, Sergey 'DoubleF' Zaharchenko wrote:
 On Tue, 23 Dec 2003 18:32:04 +

 Daniela [EMAIL PROTECTED] 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.

The main problem is, I tell the system to link everything dynamically 
(-DNOSTATIC), but my system doesn't do it. The binaries are still linked 
statically. Did I do something wrong? I always thought it's the -DNOSTATIC 
option.


  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.

I think compression and dynamic linking (when I get it to work) will suffice.
Thanks for your help.
It's almost done, just a few minor changes and we're ready to go.


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Question about static libraries and compression

2003-12-24 Thread Sergey 'DoubleF' Zaharchenko
On Tue, 23 Dec 2003 18:32:04 +
Daniela [EMAIL PROTECTED] 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
 
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 


-- 
DoubleF
I can resist anything but temptation.


pgp0.pgp
Description: PGP signature


Re: Question about static libraries and compression

2003-12-23 Thread Daniela
On Tuesday 23 December 2003 17:44, User  wrote:
 Hi,

 To be honest, I don't really know about the static libraries question. But
 other then that, when you install FreeBSD, and choose for the smallest
 configuration possible during the installation, are you taking up more then
 700 MB of space then? I don't believe it'll be that much. I reckon that
 recompiling the kernel and remove on unnesessairy things out of it saves
 disk space as well.

A normal installation takes much less, but I also put lots of apps on it.
And I can't compile a minimal kernel because I can't know yet what will be 
necessary on the system running it.


 You can also consider building FreeBSD from scratch.

I've already done that, everything is built from scratch.


 Like that you can make sure you're installing only the things you need to
 conserve disk space. Or consider using Knoppix *hides*

I'm trying to build a system like Knoppix, but with more features.


 Cheers,

 Jorn

 On Tuesday 23 December 2003 19:32, Daniela 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? 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 to boot and run it from CD-ROM.
 
  Regards,
  Daniela
 
 
  ___
  [EMAIL PROTECTED] mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
  [EMAIL PROTECTED]

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]