NetBSD/tools/compat
lukem 444edb22a9 Overhaul how `build.sh tools' are used:
*	Rename "config.h" to "nbtool_config.h" and
	HAVE_CONFIG_H to HAVE_NBTOOL_CONFIG_H.
	This makes in more obvious in the source when we're using
	tools/compat/config.h versus "standard autoconf" config.h

    *	Consistently move the inclusion of nbtool_config.h to before
	<sys/cdefs.h> so that the former can provide __RCSID() (et al),
	and there's no need to protect those macros any more.

These changes should make it easier to "tool-ify" a program by adding:
	#if HAVE_NBTOOL_CONFIG_H
	#include "nbtool_config.h"
	#endif
to the top of the source files (for the general case).
2003-10-27 01:42:50 +00:00
..
sys Overhaul MBR handling (part 1): 2003-10-08 04:25:43 +00:00
ufs use reachover relative paths in compat include files instead of 2003-05-14 00:30:26 +00:00
Makefile Overhaul how `build.sh tools' are used: 2003-10-27 00:12:41 +00:00
README It's "HP-UX" not "HP/UX". (Thanks Giles). 2002-09-29 07:05:28 +00:00
compat_defs.h Overhaul how `build.sh tools' are used: 2003-10-27 00:12:41 +00:00
compat_pwd.h work around FreeBSD defining user_from_uid() in stdlib.h 2002-07-03 17:17:04 +00:00
configure Overhaul how `build.sh tools' are used: 2003-10-27 00:12:41 +00:00
configure.ac Overhaul how `build.sh tools' are used: 2003-10-27 00:12:41 +00:00
db.h Overhaul how `build.sh tools' are used: 2003-10-27 00:12:41 +00:00
defs.mk.in Overhaul how `build.sh tools' are used: 2003-10-27 00:12:41 +00:00
fgetln.c Overhaul how `build.sh tools' are used: 2003-10-27 00:12:41 +00:00
flock.c Overhaul how `build.sh tools' are used: 2003-10-27 00:12:41 +00:00
fts.h Overhaul how `build.sh tools' are used: 2003-10-27 00:12:41 +00:00
getmode.c Overhaul how `build.sh tools' are used: 2003-10-27 00:12:41 +00:00
glob.h Overhaul how `build.sh tools' are used: 2003-10-27 00:12:41 +00:00
issetugid.c Overhaul how `build.sh tools' are used: 2003-10-27 00:12:41 +00:00
lchflags.c Overhaul how `build.sh tools' are used: 2003-10-27 00:12:41 +00:00
lchmod.c Overhaul how `build.sh tools' are used: 2003-10-27 00:12:41 +00:00
lchown.c Overhaul how `build.sh tools' are used: 2003-10-27 00:12:41 +00:00
md2.h Overhaul how `build.sh tools' are used: 2003-10-27 00:12:41 +00:00
md4.h Overhaul how `build.sh tools' are used: 2003-10-27 00:12:41 +00:00
md5.h Overhaul how `build.sh tools' are used: 2003-10-27 00:12:41 +00:00
mpool.h
namespace.h Overhaul how `build.sh tools' are used: 2003-10-27 00:12:41 +00:00
nbtool_config.h.in Overhaul how `build.sh tools' are used: 2003-10-27 01:42:50 +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 Overhaul how `build.sh tools' are used: 2003-10-27 00:12:41 +00:00
putc_unlocked.c Overhaul how `build.sh tools' are used: 2003-10-27 00:12:41 +00:00
pwrite.c Overhaul how `build.sh tools' are used: 2003-10-27 00:12:41 +00:00
rmd160.h Overhaul how `build.sh tools' are used: 2003-10-27 00:12:41 +00:00
setenv.c Overhaul how `build.sh tools' are used: 2003-10-27 00:12:41 +00:00
setgroupent.c Overhaul how `build.sh tools' are used: 2003-10-27 00:12:41 +00:00
setpassent.c Overhaul how `build.sh tools' are used: 2003-10-27 00:12:41 +00:00
setprogname.c Overhaul how `build.sh tools' are used: 2003-10-27 00:12:41 +00:00
sha1.h Overhaul how `build.sh tools' are used: 2003-10-27 00:12:41 +00:00
snprintf.c Overhaul how `build.sh tools' are used: 2003-10-27 00:12:41 +00:00
tzfile.h Roll in fixes to permit cross-compiling from non-NetBSD hosts. This 2002-01-31 22:43:33 +00:00
vis.h Overhaul how `build.sh tools' are used: 2003-10-27 00:12:41 +00:00

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.