1 Jun 2011 09:47
Re: Static linking and glibc
Antoine Leca <antoine64leca <at> hotmail.com>
2011-06-01 07:47:20 GMT
2011-06-01 07:47:20 GMT
David Given wrote: > Sorry for resurrecting a really ancient thread, but if people want a > lightweight, simple libc, the ACK has one under a liberal license: > > http://tack.hg.sourceforge.net/hgweb/tack/tack/file/4bb0576863a4/lang/cem/libcc.ansi > > It's really old but seems to be complete and reasonably bug-free. It > also works on bare metal fine. By the way, this libc is really a '91 fork of the MINIX one (of "Linux is obsolete" fame.) And another branch of the fork, the present-day MINIX's libc, compiles fine with pcc and works (on MINIX, that is; but it should not be difficult to target another Unix-like.) Licensing is essentially the same. Be aware however that MINIX is currently diverging from its old code base, and is forecast to use NetBSD libc in the future. I guess newlib is another option, too. http://sourceware.org/newlib <http://sourceware.org/newlib/> Not GPL'd unless your target is Linux, IIUC. Antoine
.
What is worrying me here are two things:
1) This is opening a can of worm. If you say, "if your make is so basic
it does not support VPATH then upgrade to GNU make", why would you not
say "if your make is so basic it does not support the include statement
[not .include] then upgrade to GNU make"? Then you'll say "if your make
is so basic it does not support the % place holder then upgrade to GNU
make"?... At the end, GNU make will end being an absolute requirement.
RSS Feed