minix/tools/compat
Lionel Sambuc 84d9c625bf Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC)
- Fix for possible unset uid/gid in toproto
 - Fix for default mtree style
 - Update libelf
 - Importing libexecinfo
 - Resynchronize GCC, mpc, gmp, mpfr
 - build.sh: Replace params with show-params.
     This has been done as the make target has been renamed in the same
     way, while a new target named params has been added. This new
     target generates a file containing all the parameters, instead of
     printing it on the console.
 - Update test48 with new etc/services (Fix by Ben Gras <ben@minix3.org)
     get getservbyport() out of the inner loop

Change-Id: Ie6ad5226fa2621ff9f0dee8782ea48f9443d2091
2014-07-28 17:05:06 +02:00
..
crypto Import NetBSD tools and build.sh 2012-06-18 10:54:51 +00:00
fs/msdosfs Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00
sys Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00
ufs Import NetBSD tools and build.sh 2012-06-18 10:54:51 +00:00
cdbr.h Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00
cdbw.h Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00
compat_defs.h Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00
compat_getopt.h Import NetBSD tools and build.sh 2012-06-18 10:54:51 +00:00
compat_pwd.h Import NetBSD tools and build.sh 2012-06-18 10:54:51 +00:00
configure Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00
configure.ac Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00
db.h Import NetBSD tools and build.sh 2012-06-18 10:54:51 +00:00
defs.mk.in Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00
dprintf.c Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00
fgetln.c Import NetBSD tools and build.sh 2012-06-18 10:54:51 +00:00
flock.c Import NetBSD tools and build.sh 2012-06-18 10:54:51 +00:00
fpurge.c Import NetBSD tools and build.sh 2012-06-18 10:54:51 +00:00
fts.h Import NetBSD tools and build.sh 2012-06-18 10:54:51 +00:00
getline.c Import NetBSD tools and build.sh 2012-06-18 10:54:51 +00:00
getmode.c Import NetBSD tools and build.sh 2012-06-18 10:54:51 +00:00
glob.h Import NetBSD tools and build.sh 2012-06-18 10:54:51 +00:00
issetugid.c Import NetBSD tools and build.sh 2012-06-18 10:54:51 +00:00
lchflags.c Fixed up new mtree description file NetBSD.dist.base (removed end of line spaces, added a few missing directories) 2012-10-24 13:42:44 +02:00
lchmod.c Import NetBSD tools and build.sh 2012-06-18 10:54:51 +00:00
lchown.c Import NetBSD tools and build.sh 2012-06-18 10:54:51 +00:00
Makefile Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00
md2.h Import NetBSD tools and build.sh 2012-06-18 10:54:51 +00:00
md4.h Import NetBSD tools and build.sh 2012-06-18 10:54:51 +00:00
md5.h Import NetBSD tools and build.sh 2012-06-18 10:54:51 +00:00
mpool.h Import NetBSD tools and build.sh 2012-06-18 10:54:51 +00:00
namespace.h Import NetBSD tools and build.sh 2012-06-18 10:54:51 +00:00
nbtool_config.h.in Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00
ndbm.h Import NetBSD tools and build.sh 2012-06-18 10:54:51 +00:00
nl_types.h Import NetBSD tools and build.sh 2012-06-18 10:54:51 +00:00
pread.c Import NetBSD tools and build.sh 2012-06-18 10:54:51 +00:00
putc_unlocked.c Import NetBSD tools and build.sh 2012-06-18 10:54:51 +00:00
pwrite.c Import NetBSD tools and build.sh 2012-06-18 10:54:51 +00:00
README Import NetBSD tools and build.sh 2012-06-18 10:54:51 +00:00
rmd160.h Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00
setenv.c Import NetBSD tools and build.sh 2012-06-18 10:54:51 +00:00
setgroupent.c Import NetBSD tools and build.sh 2012-06-18 10:54:51 +00:00
setpassent.c Import NetBSD tools and build.sh 2012-06-18 10:54:51 +00:00
setprogname.c Import NetBSD tools and build.sh 2012-06-18 10:54:51 +00:00
sha1.h Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00
sha2.h Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00
snprintf.c Import NetBSD tools and build.sh 2012-06-18 10:54:51 +00:00
tzfile.h Import NetBSD tools and build.sh 2012-06-18 10:54:51 +00:00
vis.h Import NetBSD tools and build.sh 2012-06-18 10:54:51 +00:00

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