Re: New snapshot of modutils

Michael H. Warfield (mhw@wittsend.com)
Mon, 15 Feb 1999 12:48:09 -0500 (EST)


Fred Reimer enscribed thusly:

> > -----Original Message-----
> > From: owner-linux-kernel@vger.rutgers.edu
> > [mailto:owner-linux-kernel@vger.rutgers.edu]On Behalf Of H.
> > Peter Anvin
> > Sent: Monday, February 15, 1999 4:58 AM
> > To: linux-kernel@vger.rutgers.edu
> > Subject: Re: New snapshot of modutils
> > The big problem with using C++ for modutils is that the modutils is
> > one of the programs that you might need on an initrd or boot floppy.
> > Needing the C++ library is a *big* deal.

> > -hpa

> Link static. Is that too much space?

Probably... Yeah! That might even cost you MORE space because
you would also include other libraries that are already somewhere else.
Or are you proposing a "partial static / partial dynamic" build? Static
link with only those libraries you want to use in only that program and
dynamic link against all the rest? I've tried that. That's a butt
ugly build complication like you would not believe.

Those floppies (and that includes the boot image on CD's which have
to fit the floppy footprint) are cronicly tight on space. If making modutils
a C++ app means adding C++ libraries to the initrd boot floppy or forcing
a static linked modutils (which just means the libraries are in the executable
along with an extra copy of the standard libraries which are already on
the floppy elsewhere) this is the kiss of death for doing any of that
in C++! Adding unneccesary cruft to the boot floppys is not an option.

I've seen arguements for and against C++ for a variety of things.
This is one overwhelming arguement on the against side for anything that
comes near those tightly cramped little corners.

> fwr

Mike

-- 
 Michael H. Warfield    |  (770) 985-6132   |  mhw@WittsEnd.com
  (The Mad Wizard)      |  (770) 925-8248   |  http://www.wittsend.com/mhw/
  NIC whois:  MHW9      |  An optimist believes we live in the best of all
 PGP Key: 0xDF1DD471    |  possible worlds.  A pessimist is sure of it!

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/