[NLUUG]   Welcome to ftp.nluug.nl
Current directory: /pub/pub/ftp/NetBSD/NetBSD-release-9/src/tools/compat/
 
Contents of README:
$NetBSD: README,v 1.13 2018/09/09 19:17:21 palle 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:

(updated instruction for Solaris 11 further below)

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

Solaris 11:

* Solaris 11.3
 * Set PATH to /usr/xpg6/bin:/usr/xpg4/bin:/usr/bin
 * Set HOST_CC to /usr/bin/gcc

* Solaris 11.4
 * Install gcc-5 since the default installed gcc-7 has issues when compiling 
   toolchain version of groff (hypot())
 * Set PATH to /usr/xpg7/bin:/usr/xpg6/bin:/usr/xpg4/bin:/usr/bin
 * set HOST_CC to /usr/gcc/5/bin/gcc
 * set HOST_CXX to /usr/gcc/5/bin/g++

Icon  Name                                            Last modified      Size  
[DIR] Parent Directory - [DIR] CVS/ 12-Jun-2024 05:04 - [DIR] crypto/ 14-Feb-2024 19:51 - [DIR] dev/ 14-Feb-2024 19:51 - [DIR] fs/ 14-Feb-2024 19:51 - [DIR] sys/ 14-Feb-2024 19:51 - [DIR] ufs/ 14-Feb-2024 19:51 - [   ] Makefile 08-May-2019 04:25 5.1K [TXT] README 09-Sep-2018 21:17 2.9K [TXT] cdbr.h 11-Dec-2013 02:24 184 [TXT] cdbw.h 03-Jun-2012 23:02 184 [TXT] compat_defs.h 20-Jun-2019 01:33 29K [TXT] compat_getopt.h 08-Nov-2007 21:30 389 [TXT] compat_pwd.h 18-Jan-2009 02:44 2.2K [TXT] configure 22-Jun-2019 16:40 196K [TXT] configure.ac 22-Jun-2019 15:42 9.8K [TXT] db.h 16-Oct-2006 21:44 181 [TXT] defs.mk.in 02-Dec-2012 14:05 2.5K [TXT] dprintf.c 05-Mar-2013 17:29 2.2K [TXT] fgetln.c 09-Oct-2015 16:42 2.0K [TXT] flock.c 28-Apr-2008 22:24 2.2K [TXT] fpurge.c 03-Oct-2017 12:28 1.8K [TXT] fts.h 27-Oct-2003 01:12 181 [TXT] getline.c 16-Sep-2014 19:23 2.9K [TXT] getmode.c 05-Nov-2008 00:31 1.9K [TXT] glob.h 27-Oct-2003 01:12 184 [TXT] issetugid.c 27-Oct-2003 01:12 344 [TXT] lchflags.c 28-Apr-2008 22:24 2.0K [TXT] lchmod.c 28-Apr-2008 22:24 1.9K [TXT] lchown.c 28-Apr-2008 22:24 1.9K [TXT] md2.h 27-Oct-2003 01:12 178 [TXT] md4.h 27-Oct-2003 01:12 178 [TXT] md5.h 27-Oct-2003 01:12 178 [TXT] mpool.h 21-Jan-2002 21:04 92 [TXT] namespace.h 27-Oct-2003 01:12 380 [TXT] nbtool_config.h.in 22-Jun-2019 15:42 25K [TXT] ndbm.h 03-Feb-2010 16:34 169 [TXT] nl_types.h 12-Nov-2014 16:08 185 [TXT] pread.c 28-Apr-2008 22:24 1.9K [TXT] putc_unlocked.c 28-Apr-2008 22:24 1.7K [TXT] pwrite.c 28-Apr-2008 22:24 1.9K [TXT] regex.h 11-Mar-2018 19:32 98 [TXT] rmd160.h 07-Feb-2013 21:30 190 [TXT] setenv.c 28-Apr-2008 22:24 1.9K [TXT] setgroupent.c 27-Oct-2003 01:12 227 [TXT] setpassent.c 27-Oct-2003 01:12 223 [TXT] setprogname.c 28-Apr-2008 22:24 1.9K [TXT] sha1.h 07-Feb-2013 21:30 184 [TXT] sha2.h 07-Feb-2013 21:31 184 [TXT] snprintf.c 27-Oct-2003 01:12 14K [TXT] tzfile.h 31-Jan-2002 23:43 94 [TXT] vis.h 27-Oct-2003 01:12 181

NLUUG - Open Systems. Open Standards
Become a member and get discounts on conferences and more, see the NLUUG website!