NetBSD/tools/compat
christos 2bc1b2d373 not a good place to include "nbtool_config.h" 2013-03-12 01:52:55 +00:00
..
crypto
fs/msdosfs links for makefs 2013-01-26 16:52:43 +00:00
sys not a good place to include "nbtool_config.h" 2013-03-12 01:52:55 +00:00
ufs ufs/ufs/quota.h is now used by makefs 2011-03-07 02:02:36 +00:00
Makefile add dprintf 2013-03-05 16:26:41 +00:00
README
cdbr.h Add cdbr(3) support to tools/compat. 2012-06-04 19:06:45 +00:00
cdbw.h Add a special seeder for cdbw_output that gives stable results. 2012-06-03 21:02:50 +00:00
compat_defs.h add dprintf 2013-03-05 16:26:41 +00:00
compat_getopt.h
compat_pwd.h Fix struct passwd time fields. From Shin'ichiro TAYA 2009-01-18 01:44:09 +00:00
configure regen 2013-03-05 16:28:06 +00:00
configure.ac add dprintf 2013-03-05 16:26:41 +00:00
db.h
defs.mk.in Change the default value of COMPATLIB_UNINSTALLED to no, now that 2012-12-02 13:05:14 +00:00
dprintf.c don't leak on error. 2013-03-05 16:29:09 +00:00
fgetln.c Convert to new 2 clause license 2008-04-29 06:53:00 +00:00
flock.c
fpurge.c add fpurge; needed by awk. 2009-06-16 22:35:34 +00:00
fts.h
getline.c add a stdio neutral getline/getdelim implementation. 2011-03-20 20:48:57 +00:00
getmode.c include unistd.h where getmode is traditionally declared 2008-11-04 23:31:32 +00:00
glob.h
issetugid.c
lchflags.c
lchmod.c
lchown.c
md2.h
md4.h
md5.h
mpool.h
namespace.h
nbtool_config.h.in regen 2013-03-05 16:28:06 +00:00
ndbm.h Userland now builds and uses terminfo instead of termcap. 2010-02-03 15:34:37 +00:00
nl_types.h
pread.c
putc_unlocked.c
pwrite.c
rmd160.h add shaX and rmd160 headers, same as mdX 2013-02-07 20:30:29 +00:00
setenv.c
setgroupent.c
setpassent.c
setprogname.c
sha1.h add shaX and rmd160 headers, same as mdX 2013-02-07 20:30:29 +00:00
sha2.h yes, but include the right file 2013-02-07 20:31:52 +00:00
snprintf.c
tzfile.h
vis.h

README

$NetBSD: README,v 1.12 2005/04/05 00:21:22 jmc 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.

All hosts must have a POSIX compatible sh. /bin/sh is assumed unless 
otherwise set. This can be overridden by setting HOST_SH in the environment.

In addition all hosts must provide the following local tools:

gzip

=====

NetBSD:

* _NETBSD_SOURCE is *not* to be defined/pulled in during compat/tools builds.
  compat_defs.h will error out if it finds it defined. 

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.

* Tested on Redhat Linux 8.0 (i686) in Fall 2003. Requires no special settings.

* Tested on Redhat ES3 and AS3 in spring of 2004. Requires no special settings.

* 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.

=====

MACOS
  Requires a case sensitive filesystem such as UFS

* Tested on 10.2.8 with Dec 2002 Developer Tools
    - may require a fix to /usr/bin/join, netbsd's join should work fine
* Tested on 10.3 with xcode 1.5
    - compiles fine out of the box

=====

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.