![]() |
Welcome to ftp.nluug.nl Current directory: /pub/ftp/os/NetBSD/NetBSD-release-10/src/tools/compat/ |
|
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++ |
Name Last modified Size
Parent Directory -
CVS/ 21-Aug-2024 05:07 -
crypto/ 17-Dec-2022 21:36 -
dev/ 17-Dec-2022 21:36 -
fs/ 17-Dec-2022 21:36 -
sys/ 17-Dec-2022 21:36 -
ufs/ 17-Dec-2022 21:36 -
Makefile 18-Sep-2021 03:47 5.3K
README 11-Jul-2021 08:15 3.6K
cdbr.h 11-Dec-2013 02:24 184
cdbw.h 03-Jun-2012 23:02 184
compat_defs.h 30-May-2021 12:39 29K
compat_getopt.h 08-Nov-2007 21:30 389
compat_pwd.h 18-Jan-2009 02:44 2.2K
configure 01-Jul-2023 05:35 197K
configure.ac 01-Jul-2023 05:35 10K
db.h 16-Oct-2006 21:44 181
defs.mk.in 02-Dec-2012 14:05 2.5K
dprintf.c 05-Mar-2013 17:29 2.2K
fgetln.c 09-Oct-2015 16:42 2.0K
flock.c 28-Apr-2008 22:24 2.2K
fpurge.c 03-Oct-2017 12:28 1.8K
fts.h 27-Oct-2003 01:12 181
getline.c 16-Sep-2014 19:23 2.9K
getmode.c 05-Nov-2008 00:31 1.9K
glob.h 27-Oct-2003 01:12 184
issetugid.c 27-Oct-2003 01:12 344
lchflags.c 28-Apr-2008 22:24 2.0K
lchmod.c 28-Apr-2008 22:24 1.9K
lchown.c 28-Apr-2008 22:24 1.9K
md2.h 27-Oct-2003 01:12 178
md4.h 27-Oct-2003 01:12 178
md5.h 27-Oct-2003 01:12 178
mpool.h 21-Jan-2002 21:04 92
namespace.h 27-Oct-2003 01:12 380
nbtool_config.h.in 01-Jul-2023 05:35 25K
ndbm.h 03-Feb-2010 16:34 169
nl_types.h 12-Nov-2014 16:08 185
pread.c 28-Apr-2008 22:24 1.9K
putc_unlocked.c 28-Apr-2008 22:24 1.7K
pwrite.c 28-Apr-2008 22:24 1.9K
regex.h 11-Mar-2018 19:32 98
rmd160.h 07-Feb-2013 21:30 190
setenv.c 28-Apr-2008 22:24 1.9K
setgroupent.c 27-Oct-2003 01:12 227
setpassent.c 27-Oct-2003 01:12 223
setprogname.c 28-Apr-2008 22:24 1.9K
sha1.h 07-Feb-2013 21:30 184
sha2.h 07-Feb-2013 21:31 184
snprintf.c 27-Oct-2003 01:12 14K
tzfile.h 31-Jan-2002 23:43 94
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!