Index of /archives/NetBSD/NetBSD-release-9/src/tools/compat
Name Last modified Size Description
Parent Directory -
CVS/ 2025-01-15 12:04 -
Makefile 2019-05-08 11:25 5.1K
README 2018-09-10 04:17 2.9K
cdbr.h 2013-12-11 10:24 184
cdbw.h 2012-06-04 06:02 184
compat_defs.h 2019-06-20 08:33 29K
compat_getopt.h 2007-11-09 05:30 389
compat_pwd.h 2009-01-18 10:44 2.2K
configure 2019-06-22 23:40 196K
configure.ac 2019-06-22 22:42 9.8K
crypto/ 2024-02-15 03:51 -
db.h 2006-10-17 04:44 181
defs.mk.in 2012-12-02 22:05 2.5K
dev/ 2024-02-15 03:51 -
dprintf.c 2013-03-06 01:29 2.2K
fgetln.c 2015-10-09 23:42 2.0K
flock.c 2008-04-29 05:24 2.2K
fpurge.c 2017-10-03 19:28 1.8K
fs/ 2024-02-15 03:51 -
fts.h 2003-10-27 09:12 181
getline.c 2014-09-17 02:23 2.9K
getmode.c 2008-11-05 08:31 1.9K
glob.h 2003-10-27 09:12 184
issetugid.c 2003-10-27 09:12 344
lchflags.c 2008-04-29 05:24 2.0K
lchmod.c 2008-04-29 05:24 1.9K
lchown.c 2008-04-29 05:24 1.9K
md2.h 2003-10-27 09:12 178
md4.h 2003-10-27 09:12 178
md5.h 2003-10-27 09:12 178
mpool.h 2002-01-22 05:04 92
namespace.h 2003-10-27 09:12 380
nbtool_config.h.in 2019-06-22 22:42 25K
ndbm.h 2010-02-04 00:34 169
nl_types.h 2014-11-13 00:08 185
pread.c 2008-04-29 05:24 1.9K
putc_unlocked.c 2008-04-29 05:24 1.7K
pwrite.c 2008-04-29 05:24 1.9K
regex.h 2018-03-12 03:32 98
rmd160.h 2013-02-08 05:30 190
setenv.c 2008-04-29 05:24 1.9K
setgroupent.c 2003-10-27 09:12 227
setpassent.c 2003-10-27 09:12 223
setprogname.c 2008-04-29 05:24 1.9K
sha1.h 2013-02-08 05:30 184
sha2.h 2013-02-08 05:31 184
snprintf.c 2003-10-27 09:12 14K
sys/ 2024-02-15 03:51 -
tzfile.h 2002-02-01 07:43 94
ufs/ 2024-02-15 03:51 -
vis.h 2003-10-27 09:12 181
$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++