NetBSD/tools/compat
uwe 4eb408dcd9 Avoid cgetcap &co prototypes conflicting with those provided by the host.
With this change we can cross-compile on FreeBSD 4.x.
2003-01-31 20:50:29 +00:00
..
sys
Makefile Tweak dependencies so that defs.mk depends upon config.cache, and 2002-12-04 23:27:54 +00:00
README It's "HP-UX" not "HP/UX". (Thanks Giles). 2002-09-29 07:05:28 +00:00
compat_defs.h Avoid cgetcap &co prototypes conflicting with those provided by the host. 2003-01-31 20:50:29 +00:00
compat_pwd.h
config.h.in replace missing strsuftoll(3) 2002-11-29 13:00:22 +00:00
configure Include <sys/types.h> before <grp.h>; Mac OS 10.2.2 needs this. 2002-12-16 00:35:00 +00:00
configure.ac Include <sys/types.h> before <grp.h>; Mac OS 10.2.2 needs this. 2002-12-16 00:35:00 +00:00
db.h
defs.mk.in Add a HOST_BSHELL make var which contains the path to the working 2002-09-15 16:46:23 +00:00
fgetln.c
flock.c
fts.h Always use NetBSD's fts(3) in compat builds. Some systems (notably 2002-09-16 04:10:36 +00:00
getmode.c
glob.h
issetugid.c
lchflags.c Implement replacements for lchflags(), lchmod(), and lchown(), 2002-10-08 00:28:36 +00:00
lchmod.c Implement replacements for lchflags(), lchmod(), and lchown(), 2002-10-08 00:28:36 +00:00
lchown.c Implement replacements for lchflags(), lchmod(), and lchown(), 2002-10-08 00:28:36 +00:00
md2.h
md4.h
md5.h
mpool.h
namespace.h
nl_types.h
pread.c
pwrite.c
rmd160.h
setenv.c
setgroupent.c
setpassent.c
setprogname.c
sha1.h
snprintf.c
tzfile.h
vis.h

README

$NetBSD: README,v 1.8 2002/09/29 07:05:28 lukem 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.

=====

HP-UX:

* zlib must be available.
  This will be fixed in the future to include zlib in libnbcompat.

=====

LINUX:

* Tested on RedHat Linux 7.1 (i386).
  Tested on RedHat Linux 7.3 (i686) on 16 Sep 2002.  Requires "LANG=C"
  in the environment.

* 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 and Solaris/sparc 8 (5.8)
  with gcc 3.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 SUNWzlib package (or a built version of zlib visible to $HOST_CC,
  such as SMCzlib from sunfreeware.com) 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
      <path to host C and C++ compilers>
      /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 before the path to
  the host C and C++ compilers.