Linux vs NetBSD for size

Linux vs NetBSD for size

Post by Ghazan Haid » Tue, 02 Nov 2004 15:19:05

I'm setting up a number of machines, sparcs, sparc64s, an RS6000, an
m68k etc for netbooting an OS that runs off ramdisk, and runs network
applications. One sparc64 server will be the tftp/rarpd/bootpd/dhcp
etc server for the task.

So it all comes down to two OSes that are flexible enough: Linux and

I've been playing with Dan Kegel's crosstool tools, been monitoring
the gcc cross compiling mailing list for ways to compile up a Linux
system with uclibc to make things small enough, and have failed. Linux
2.4 with glibc is good enough for the job but a little large, and
cross compiling has been generally a pain compared to NetBSD's If the ramdisk image is expected to be 8MB, I'll need at
least 8MB more for RAM for Linux, although NetBSD 1.6 can do with 4mb.

Any thoughts on easier ways to cross compile linux with uclibc or
newlib? Can linux with glibc be smaller than NetBSD if older versions
or libc5 are used? Should I think of using kernel version 2.0? Will
OpenBSD or FreeBSD be smaller than NetBSD?

Finally what is the most cross-compilable version of the Linux kernel,
gcc, glibc and binutils? Is there such a combination that will
cross-compile without any issues to all the Linux-supported arches?


1. NetBSD vs. Linux vs. Solaris on SPARC

Hi, dear sysadmins.

I've just got a Sun SPARC Station LX (sun4m class), 50 MHz, 96 MB ram,
2.1 GB HD. It comes with a Solaris 8 installed, which is painfully slow.
I've heard that both NetBSD and Linux have sparc version of their OS,
but don't which one is better, in terms of performance, stabability,
software support, and etc., on the sparc platform. Could anyone with
insight care to enlight me a bit ;) thanks.


2. IPF, NAT and port mapping frustration

3. Linux VS free BSD VS netBSD

4. Message from syslogd@localhost

5. NetBSD vs. Linux vs. Solaris on SPARC

6. Telnet & ftp freeze!

7. NetBSD vs FreeBSD vs Linux?

8. e2fsck

9. Linux vs OS2 vs NT vs Win95 vs Multics vs PDP11 vs BSD geeks

10. NetBSD vs SunOS vs Solaris as firewall?

11. freebsd vs netbsd vs openbsd

12. OpenBSD vs FreeBSD vs NetBSD

13. FreeBSD vs. NetBSD vs. OpenBSD