minix/commands/ash
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
..
bltin ash: make test/expr support 'file1 -ot file2' 2010-07-03 22:18:11 +00:00
funcs New version of ash. From FreeBSD 5.4 via Minix-vmd. 2006-05-23 12:59:34 +00:00
alias.c We have sys/cdefs.h now, so remove hacks. 2010-06-17 15:14:57 +00:00
alias.h Removed unused variables, added const where possible. 2010-04-07 11:25:51 +00:00
arith.y Convert boot/ and commands/ over to bsdmake 2010-05-12 16:28:54 +00:00
arith_lex.h New version of ash. From FreeBSD 5.4 via Minix-vmd. 2006-05-23 12:59:34 +00:00
arith_lex.l Convert boot/ and commands/ over to bsdmake 2010-05-12 16:28:54 +00:00
builtins New version of ash. From FreeBSD 5.4 via Minix-vmd. 2006-05-23 12:59:34 +00:00
builtins.def New version of ash. From FreeBSD 5.4 via Minix-vmd. 2006-05-23 12:59:34 +00:00
cd.c Removed unused variables, added const where possible. 2010-04-07 11:25:51 +00:00
cd.h New version of ash. From FreeBSD 5.4 via Minix-vmd. 2006-05-23 12:59:34 +00:00
complete.c New version of ash. From FreeBSD 5.4 via Minix-vmd. 2006-05-23 12:59:34 +00:00
complete.h New version of ash. From FreeBSD 5.4 via Minix-vmd. 2006-05-23 12:59:34 +00:00
errmsg.c New version of ash. From FreeBSD 5.4 via Minix-vmd. 2006-05-23 12:59:34 +00:00
errmsg.h New version of ash. From FreeBSD 5.4 via Minix-vmd. 2006-05-23 12:59:34 +00:00
error.c Code cleanup: remove unused #include, variables and code, 2010-04-15 18:49:36 +00:00
error.h Removal of the executable flag from files that cannot be executed 2009-11-09 10:26:00 +00:00
eval.c We have sys/cdefs.h now, so remove hacks. 2010-06-17 15:14:57 +00:00
eval.h Removal of the executable flag from files that cannot be executed 2009-11-09 10:26:00 +00:00
exec.c We have sys/cdefs.h now, so remove hacks. 2010-06-17 15:14:57 +00:00
exec.h Removal of the executable flag from files that cannot be executed 2009-11-09 10:26:00 +00:00
expand.c We have sys/cdefs.h now, so remove hacks. 2010-06-17 15:14:57 +00:00
expand.h Convert boot/ and commands/ over to bsdmake 2010-05-12 16:28:54 +00:00
histedit.c New version of ash. From FreeBSD 5.4 via Minix-vmd. 2006-05-23 12:59:34 +00:00
init.h Removal of the executable flag from files that cannot be executed 2009-11-09 10:26:00 +00:00
input.c Build NetBSD libc library in world in ELF mode. 2011-06-24 11:46:30 +02:00
input.h Removal of the executable flag from files that cannot be executed 2009-11-09 10:26:00 +00:00
jobs.c We have sys/cdefs.h now, so remove hacks. 2010-06-17 15:14:57 +00:00
jobs.h Removal of the executable flag from files that cannot be executed 2009-11-09 10:26:00 +00:00
machdep.h Removal of the executable flag from files that cannot be executed 2009-11-09 10:26:00 +00:00
mail.c Removal of the executable flag from files that cannot be executed 2009-11-09 10:26:00 +00:00
mail.h Removal of the executable flag from files that cannot be executed 2009-11-09 10:26:00 +00:00
main.c Removal of the executable flag from files that cannot be executed 2009-11-09 10:26:00 +00:00
main.h Removal of the executable flag from files that cannot be executed 2009-11-09 10:26:00 +00:00
Makefile Move minix/paths.h to paths.h 2010-11-06 20:40:15 +00:00
memalloc.c Removed unused variables, added const where possible. 2010-04-07 11:25:51 +00:00
memalloc.h Removed unused variables, added const where possible. 2010-04-07 11:25:51 +00:00
miscbltin.c We have sys/cdefs.h now, so remove hacks. 2010-06-17 15:14:57 +00:00
mkbuiltins New version of ash. From FreeBSD 5.4 via Minix-vmd. 2006-05-23 12:59:34 +00:00
mkinit.c We have sys/cdefs.h now, so remove hacks. 2010-06-17 15:14:57 +00:00
mknodes.c Removal of the executable flag from files that cannot be executed 2009-11-09 10:26:00 +00:00
mksignames.c Removal of the executable flag from files that cannot be executed 2009-11-09 10:26:00 +00:00
mksyntax.c We have sys/cdefs.h now, so remove hacks. 2010-06-17 15:14:57 +00:00
mktokens New version of ash. From FreeBSD 5.4 via Minix-vmd. 2006-05-23 12:59:34 +00:00
myhistedit.h New version of ash. From FreeBSD 5.4 via Minix-vmd. 2006-05-23 12:59:34 +00:00
mystring.c Removal of the executable flag from files that cannot be executed 2009-11-09 10:26:00 +00:00
mystring.h Removal of the executable flag from files that cannot be executed 2009-11-09 10:26:00 +00:00
nodes.c.pat New version of ash. From FreeBSD 5.4 via Minix-vmd. 2006-05-23 12:59:34 +00:00
nodetypes New version of ash. From FreeBSD 5.4 via Minix-vmd. 2006-05-23 12:59:34 +00:00
options.c Removal of the executable flag from files that cannot be executed 2009-11-09 10:26:00 +00:00
options.h Removal of the executable flag from files that cannot be executed 2009-11-09 10:26:00 +00:00
output.c Build NetBSD libc library in world in ELF mode. 2011-06-24 11:46:30 +02:00
output.h Build NetBSD libc library in world in ELF mode. 2011-06-24 11:46:30 +02:00
parser.c We have sys/cdefs.h now, so remove hacks. 2010-06-17 15:14:57 +00:00
parser.h Removal of the executable flag from files that cannot be executed 2009-11-09 10:26:00 +00:00
redir.c Removal of the executable flag from files that cannot be executed 2009-11-09 10:26:00 +00:00
redir.h Removal of the executable flag from files that cannot be executed 2009-11-09 10:26:00 +00:00
setmode.c commands: fix clang errors 2011-06-09 08:27:49 +02:00
shell.h Build NetBSD libc library in world in ELF mode. 2011-06-24 11:46:30 +02:00
show.c Removal of the executable flag from files that cannot be executed 2009-11-09 10:26:00 +00:00
show.h New version of ash. From FreeBSD 5.4 via Minix-vmd. 2006-05-23 12:59:34 +00:00
TOUR New version of ash. From FreeBSD 5.4 via Minix-vmd. 2006-05-23 12:59:34 +00:00
trap.c Build NetBSD libc library in world in ELF mode. 2011-06-24 11:46:30 +02:00
trap.h Removal of the executable flag from files that cannot be executed 2009-11-09 10:26:00 +00:00
var.c We have sys/cdefs.h now, so remove hacks. 2010-06-17 15:14:57 +00:00
var.h Removal of the executable flag from files that cannot be executed 2009-11-09 10:26:00 +00:00