Welcome to ftp.nluug.nl Current directory: /ftp/pub/NetBSD/NetBSD-current/src/tools/compat/ |
|
Contents of README:$NetBSD: README,v 1.29 2023/09/02 18:45:48 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 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 10 and 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 10: * Solaris 10 1/13 (u11) * POSIX.1-2001, SUSv3 (see standards(7)) * Using gcc-5 from opencsw.org * Set PATH to /usr/xpg6/bin:/usr/xpg4/bin:/usr/bin:/usr/ccs/bin * Set HOST_CC to /opt/csw/bin/gcc * Set HOST_SH to /usr/bin/bash Solaris 11: * Solaris 11.3 * POSIX.1-2001, SUSv3 (see standards(7)) * Using gcc-12 from pkgsrc.org (installed in $GCC12INSTALLDIR) * Set PATH to /usr/xpg6/bin:/usr/xpg4/bin:/usr/bin:$GCC12INSTALLDIR/bin * Set HOST_CC to $GCC12INSTALLDIR/bin/gcc * Set HOST_SH to /usr/bin/bash * Solaris 11.4 (CBE) * POSIX.1-2008, SUSv4 (see standards(7)) * Using gcc-11 * Set PATH to /usr/xpg7/bin:/usr/xpg6/bin:/usr/xpg4/bin:/usr/bin * Set HOST_CC to /usr/bin/gcc * Set HOST_SH to /usr/bin/bash * Solaris 11.4 (SRU57) * POSIX.1-2008, SUSv4 (see standards(7)) * Using gcc-12 * Set PATH to /usr/xpg7/bin:/usr/xpg6/bin:/usr/xpg4/bin:/usr/bin * Set HOST_CC to /usr/bin/gcc * Set HOST_SH to /usr/bin/bash |
Name Last modified Size
Parent Directory - CVS/ 22-Nov-2024 04:01 - buildaux/ 21-Jul-2023 05:01 - crypto/ 25-Dec-2009 07:54 - dev/ 23-Dec-2014 04:06 - fs/ 27-Jan-2013 04:03 - sys/ 08-May-2019 05:01 - ufs/ 25-Dec-2009 07:54 - Makefile 01-Nov-2024 04:01 5.3K README 03-Sep-2023 05:01 4.2K aclocal.m4 21-Jul-2023 05:01 757 cdbr.h 11-Dec-2013 04:04 184 cdbw.h 03-Jun-2012 23:02 184 compat_defs.h 01-Nov-2024 04:01 30K compat_getopt.h 08-Nov-2007 21:30 389 compat_pwd.h 18-Jan-2009 02:44 2.2K configure 01-Nov-2024 04:01 212K configure.ac 01-Nov-2024 04:01 11K db.h 16-Oct-2006 21:44 181 defs.mk.in 04-Jun-2023 05:01 3.0K dprintf.c 05-Mar-2013 17:29 2.2K fgetln.c 10-Oct-2015 05:04 2.0K flock.c 28-Apr-2008 22:24 2.2K fpurge.c 04-Oct-2017 05:01 1.8K fts.h 27-Oct-2003 01:12 181 getline.c 17-Sep-2014 05:03 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-Nov-2024 04:01 25K ndbm.h 03-Feb-2010 16:34 169 nl_types.h 13-Nov-2014 04:06 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 04-Jul-2023 05:01 125 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!