minix/lib
Gianluca Guida cc17b27a2b Build NetBSD libc library in world in ELF mode.
3 sets of libraries are built now:
  . ack: all libraries that ack can compile (/usr/lib/i386/)
  . clang+elf: all libraries with minix headers (/usr/lib/)
  . clang+elf: all libraries with netbsd headers (/usr/netbsd/)

Once everything can be compiled with netbsd libraries and headers, the
/usr/netbsd hierarchy will be obsolete and its libraries compiled with
netbsd headers will be installed in /usr/lib, and its headers
in /usr/include. (i.e. minix libc and current minix headers set
will be gone.)

To use the NetBSD libc system (libraries + headers) before
it is the default libc, see:
   http://wiki.minix3.org/en/DevelopersGuide/UsingNetBSDCode
This wiki page also documents the maintenance of the patch
files of minix-specific changes to imported NetBSD code.

Changes in this commit:
  . libsys: Add NBSD compilation and create a safe NBSD-based libc.
  . Port rest of libraries (except libddekit) to new header system.
  . Enable compilation of libddekit with new headers.
  . Enable kernel compilation with new headers.
  . Enable drivers compilation with new headers.
  . Port legacy commands to new headers and libc.
  . Port servers to new headers.
  . Add <sys/sigcontext.h> in compat library.
  . Remove dependency file in tree.
  . Enable compilation of common/lib/libc/atomic in libsys
  . Do not generate RCSID strings in libc.
  . Temporarily disable zoneinfo as they are incompatible with NetBSD format
  . obj-nbsd for .gitignore
  . Procfs: use only integer arithmetic. (Antoine Leca)
  . Increase ramdisk size to create NBSD-based images.
  . Remove INCSYMLINKS handling hack.
  . Add nbsd_include/sys/exec_elf.h
  . Enable ELF compilation with NBSD libc.
  . Add 'make nbsdsrc' in tools to download reference NetBSD sources.
  . Automate minix-port.patch creation.
  . Avoid using fstavfs() as it is *extremely* slow and unneeded.
  . Set err() as PRIVATE to avoid name clash with libc.
  . [NBSD] servers/vm: remove compilation warnings.
  . u32 is not a long in NBSD headers.
  . UPDATING info on netbsd hierarchy
  . commands fixes for netbsd libc
2011-06-24 11:46:30 +02:00
..
ack libfp: use ${CC} instead of cc, reported by Antoine Leca. 2010-07-22 22:24:08 +00:00
csu libc and csu updates for ELF 2010-12-10 23:04:04 +00:00
libarchive Build NetBSD libc library in world in ELF mode. 2011-06-24 11:46:30 +02:00
libaudiodriver fixed clang warnings in drivers/ 2011-06-09 16:57:51 +02:00
libbz2 Build NetBSD libc library in world in ELF mode. 2011-06-24 11:46:30 +02:00
libc fix many clang warnings in lib/ 2011-06-23 19:25:36 +02:00
libcurses lib: fixes for warnings that clang has for libraries. 2010-07-06 12:08:22 +00:00
libddekit Build NetBSD libc library in world in ELF mode. 2011-06-24 11:46:30 +02:00
libdevman minor fix for clang - do_unbind() becomes void 2011-02-27 00:10:33 +00:00
libdriver Server/driver protocols: no longer allow third-party copies. 2011-04-11 17:35:05 +00:00
libedit fix many clang warnings in lib/ 2011-06-23 19:25:36 +02:00
libelf Import libelf from elftoolchain r1525 2011-05-21 19:15:26 +02:00
libend Rename mkfiles from minix.*.mk to bsd.*.mk 2010-06-25 18:29:09 +00:00
libexec Build NetBSD libc library in world in ELF mode. 2011-06-24 11:46:30 +02:00
libfetch libfetch - move fetch.3 to man and fetch.h to include 2010-07-01 00:05:48 +00:00
libhgfs Build NetBSD libc library in world in ELF mode. 2011-06-24 11:46:30 +02:00
libl Rename mkfiles from minix.*.mk to bsd.*.mk 2010-06-25 18:29:09 +00:00
liblwip LWIP - liblwip 2011-04-07 07:43:36 +00:00
libm Rename mkfiles from minix.*.mk to bsd.*.mk 2010-06-25 18:29:09 +00:00
libmthread libmthread: support for thread-local storage (keys/specifics) 2011-04-14 11:54:43 +00:00
libnetdriver Rename mkfiles from minix.*.mk to bsd.*.mk 2010-06-25 18:29:09 +00:00
libsys Build NetBSD libc library in world in ELF mode. 2011-06-24 11:46:30 +02:00
libtimers Replace NULL macro defs with null.h include 2010-07-22 10:03:31 +00:00
libusb fix many clang warnings in lib/ 2011-06-23 19:25:36 +02:00
libutil Build NetBSD libc library in world in ELF mode. 2011-06-24 11:46:30 +02:00
libvtreefs Build NetBSD libc library in world in ELF mode. 2011-06-24 11:46:30 +02:00
libz Build NetBSD libc library in world in ELF mode. 2011-06-24 11:46:30 +02:00
nbsd_libasyn Add libasyn, asynchio support for netbsd libc. 2011-03-23 15:28:22 +00:00
nbsd_libc Build NetBSD libc library in world in ELF mode. 2011-06-24 11:46:30 +02:00
nbsd_libcompat_minix Build NetBSD libc library in world in ELF mode. 2011-06-24 11:46:30 +02:00
nbsd_libm Build NetBSD libc library in world in ELF mode. 2011-06-24 11:46:30 +02:00
nbsd_libminlib Add libminlib for NBSD libc compilation. 2011-03-22 13:47:35 +00:00
ack_build.sh changes for detecting and building for clang/binutils elf 2011-06-07 16:49:52 +02:00
clang_build.sh Build NetBSD libc library in world in ELF mode. 2011-06-24 11:46:30 +02:00
elf_build.sh Build NetBSD libc library in world in ELF mode. 2011-06-24 11:46:30 +02:00
elf_build_base.sh Build NetBSD libc library in world in ELF mode. 2011-06-24 11:46:30 +02:00
gnu_build.sh Build NetBSD libc library in world in ELF mode. 2011-06-24 11:46:30 +02:00
Makefile Build NetBSD libc library in world in ELF mode. 2011-06-24 11:46:30 +02:00
Makefile.inc Build NetBSD libc library in world in ELF mode. 2011-06-24 11:46:30 +02:00
README Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00

ack_build.sh - for ACK library building
gnu_build.sh - for GNU library building

ack_build.sh obj     - create objdirs for gnu libraries
ack_build.sh depend  - find dependencies of ack libraries
ack_build.sh all     - compile ack libraries
ack_build.sh install - compile and install ack libraries
ack_build.sh clean   - clean for ack libraries

gnu_build.sh obj     - create objdirs for gnu libraries
gnu_build.sh depend  - find dependencies of gnu libraries
gnu_build.sh all     - compile gnu libraries
gnu_build.sh install - compile and install gnu libraries
gnu_build.sh clean   - clean for gnu libraries