NetBSD/tools/compat
bjh21 2b918abe52 I believe I've fixed nbmake's dependency on /bin/sh. 2002-04-28 22:28:38 +00:00
..
scripts Roll in fixes to permit cross-compiling from non-NetBSD hosts. This 2002-01-31 22:43:33 +00:00
sys Make many host tools compile on non-NetBSD hosts. Not complete, but 2002-01-21 20:04:36 +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 Rather than hardcoding two possible locations of the POSIX shell (for 2002-04-24 19:41:58 +00:00
compat_pwd.h Make almost all tools compile and run properly on non-NetBSD hosts. (In 2002-01-29 10:20:28 +00:00
config.h.in Rather than hardcoding two possible locations of the POSIX shell (for 2002-04-24 19:41:58 +00:00
configure Rather than hardcoding two possible locations of the POSIX shell (for 2002-04-24 19:41:58 +00:00
configure.ac Rather than hardcoding two possible locations of the POSIX shell (for 2002-04-24 19:41:58 +00:00
db.h Make almost all tools compile and run properly on non-NetBSD hosts. (In 2002-01-29 10:20:28 +00:00
defs.mk.in Roll in fixes to permit cross-compiling from non-NetBSD hosts. This 2002-01-31 22:43:33 +00:00
fgetln.c Include config.h unconditionally; clean up. 2002-01-31 19:23:14 +00:00
flock.c fcntl locking works much better when the `struct flock' is actually given 2002-03-07 23:14:02 +00:00
getmode.c Include config.h unconditionally; clean up. 2002-01-31 19:23:14 +00:00
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 Make many host tools compile on non-NetBSD hosts. Not complete, but 2002-01-21 20:04:36 +00:00
namespace.h Make sure there are no weak references in libnbcompat (avoids linker 2002-01-31 19:20:14 +00:00
nl_types.h Make almost all tools compile and run properly on non-NetBSD hosts. (In 2002-01-29 10:20:28 +00:00
pread.c Include config.h unconditionally; clean up. 2002-01-31 19:23:14 +00:00
pwrite.c Include config.h unconditionally; clean up. 2002-01-31 19:23:14 +00:00
setenv.c Include config.h unconditionally; clean up. 2002-01-31 19:23:14 +00:00
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 Provide a default string so host tools that forget to call setprogname() 2002-01-31 19:21:58 +00:00
snprintf.c Include config.h unconditionally; clean up. 2002-01-31 19:23:14 +00:00
tzfile.h Roll in fixes to permit cross-compiling from non-NetBSD hosts. This 2002-01-31 22:43:33 +00:00

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.