[NLUUG]   Welcome to ftp.nluug.nl
Current directory: /NetBSD/NetBSD-release-10/src/tools/compat/
 
Current bandwidth utilization 1511.40 Mbit/s
Bandwidth utilization bar
Contents of README:
$NetBSD: README,v 1.21 2021/07/11 06:15:42 cjep 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
  gcc
  g++
  zlib and headers (this requirement may be dropped in future)

FreeBSD
-------

build.sh was recently tested on:
* FreeBSD 13 (amd64, aarch64) 
* FreeBSD 12.2 (amd64, aarch64)
* FreeBSD 11.4 (amd64)
* FreeBSD 10.4 (amd64)

Linux
-----

build.sh has been tested on:
* Amazon Linux 2 (x86)
* Debian 10 (x86, aarch64)
* Red Hat Enterprise Linux 8 (x86, aarch64)
* SUSE Enterprise Server 15 (x86)
* Ubuntu Server 20.04 (x86, aarch64)
* Ubuntu Server 18.04 (x86)

* The gcc and g++ package must be installed, along with the typical system 
  development packages (glibc-devel, etc.). The g++ package is sometimes 
  called gcc-c++.

* The ncurses-devel package must be installed (for nbinfo).

* The zlib and zlib-devel packages must be installed (these are
  called zlib1g and zlib1g-dev on Debian and Ubuntu Linux)

* There is a known build problem on Linux/aarch64 with glibc <2.28

macOS/Darwin
------------

build.sh was recently tested on:
* macOS Big Sur (x86)
* macOS Catalina
* macOS High Sierra

with up to date Xcode command line tools and APFS filesystems. 
Previously, there have been issues building on case-insensitive 
HFS filesystems. build.sh is not working yet on M1-based Macs.

HP-UX
-----

* zlib must be available.

OpenBSD
-------

As of -current 20210629, ./build.sh will build src on OpenBSD 6.9
for all platforms.

Due to the default limits placed on user accounts, the host may experience
memory exhaustion on builds requiring the LLVM RT library (including 
X on amd64, i386 and evbarm64-el) and for MIPS targets.

This can be avoided by building as root (not ideal) or by asking your
administrator to increase your limits in login.conf. These two variables
seem to be sufficient:
        :datasize=infinity:\
        :stacksize-cur=8M:\

NetBSD (earlier releases)
-------------------------

* Tested on NetBSD 1.5.2 (machine-independently).
* Should need no special setup.
* _NETBSD_SOURCE is *not* to be defined/pulled in during compat/tools builds.
  compat_defs.h will error out if it finds it defined. 

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/ 27-Mar-2024 04:12 - [DIR] crypto/ 17-Dec-2022 21:36 - [DIR] dev/ 17-Dec-2022 21:36 - [DIR] fs/ 17-Dec-2022 21:36 - [DIR] sys/ 17-Dec-2022 21:36 - [DIR] ufs/ 17-Dec-2022 21:36 - [   ] Makefile 18-Sep-2021 03:47 5.3K [TXT] README 11-Jul-2021 08:15 3.6K [TXT] cdbr.h 11-Dec-2013 02:24 184 [TXT] cdbw.h 03-Jun-2012 23:02 184 [TXT] compat_defs.h 30-May-2021 12:39 29K [TXT] compat_getopt.h 08-Nov-2007 21:30 389 [TXT] compat_pwd.h 18-Jan-2009 02:44 2.2K [TXT] configure 01-Jul-2023 05:35 197K [TXT] configure.ac 01-Jul-2023 05:35 10K [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 01-Jul-2023 05:35 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!