NetBSD/tools/compat
pooka c695034447 work around FreeBSD defining user_from_uid() in stdlib.h 2002-07-03 17:17:04 +00:00
..
scripts
sys Use the target disklabel_mbr.h, since it just describes data structures for 2002-05-12 12:30:10 +00:00
Makefile Actually put the include directory timestamp under the "include" directory, 2002-04-18 21:15:08 +00:00
README I believe I've fixed nbmake's dependency on /bin/sh. 2002-04-28 22:28:38 +00:00
compat_defs.h Fine-grain checking somewhat: 2002-07-03 17:16:26 +00:00
compat_pwd.h work around FreeBSD defining user_from_uid() in stdlib.h 2002-07-03 17:17:04 +00:00
config.h.in Fine-grain checking somewhat: 2002-07-03 17:16:26 +00:00
configure Fine-grain checking somewhat: 2002-07-03 17:16:26 +00:00
configure.ac Fine-grain checking somewhat: 2002-07-03 17:16:26 +00:00
db.h
defs.mk.in
fgetln.c
flock.c fix minor typo -> s/lokcing/locking/ 2002-06-07 21:13:55 +00:00
getmode.c
issetugid.c Add a stub issetugid() for platforms that don't have it. For now, we assume 2002-04-18 15:31:51 +00:00
mpool.h
namespace.h
nl_types.h
pread.c
pwrite.c
setenv.c
setgroupent.c Add some more bits of host compatibility. 2002-02-26 22:29:38 +00:00
setpassent.c Add some more bits of host compatibility. 2002-02-26 22:29:38 +00:00
setprogname.c
snprintf.c
tzfile.h

README

$NetBSD: README,v 1.3 2002/04/28 22:28:38 bjh21 Exp $

Special notes for cross-hosting a NetBSD build on certain platforms.  
Only those platforms which have been tested to complete a "build.sh" run
are listed.

=====

LINUX:

* Tested on RedHat Linux 7.1 (i386).

* The gcc (and libstdc++, if needed) package must be installed, along
  with the typical system development packages (glibc-devel, etc.).

* The ncurses-devel package must be installed (for nbinfo).

* The zlib and zlib-devel packages must be installed.  This will be
  fixed in the future to include zlib in libnbcompat.

=====

NETBSD (earlier releases):

* Tested on NetBSD 1.5.2 (machine-independently).

* Should need no special setup.

=====

SOLARIS:

* Tested on Solaris/x86 8 (5.8) with gcc 2.95.2 (not yet tested with
  SUNWspro).

* $HOST_CC needs to be set properly (for gcc, it should be set to "gcc",
  otherwise the improper /usr/ucb/cc may be invoked by accident).

* The SUNWxcu4 package (containing /usr/xpg4/bin/*) must be installed.

* The SUNWzlib package (or a built version of zlib visible to $HOST_CC)
  must be installed.  This will be fixed in the future to include zlib
  in libnbcompat.

* Needs the following paths, in this order, in $PATH:

      /usr/xpg4/bin:/usr/ccs/bin:/usr/bin

  (/usr/ucb may optionally be placed before /usr/bin per your preference,
  but /usr/ucb *MUST NOT* be before /usr/ccs/bin or /usr/xpg4/bin!)

* Needs the "mktemp" script from src/tools/compat/scripts, made
  executable, available somewhere in $PATH.  (Solaris has no
  command-line mktemp(1).)  This may be worked around in the future.