1 $NetBSD: README,v 1.12 2005/04/05 00:21:22 jmc Exp $
3 Special notes for cross-hosting a NetBSD build on certain platforms.
4 Only those platforms which have been tested to complete a "build.sh" run
7 All hosts must have a POSIX compatible sh. /bin/sh is assumed unless
8 otherwise set. This can be overridden by setting HOST_SH in the environment.
10 In addition all hosts must provide the following local tools:
18 * _NETBSD_SOURCE is *not* to be defined/pulled in during compat/tools builds.
19 compat_defs.h will error out if it finds it defined.
23 * zlib must be available.
24 This will be fixed in the future to include zlib in libnbcompat.
30 * Tested on RedHat Linux 7.1 (i386).
31 Tested on RedHat Linux 7.3 (i686) on 16 Sep 2002. Requires "LANG=C"
34 * Tested on Redhat Linux 8.0 (i686) in Fall 2003. Requires no special settings.
36 * Tested on Redhat ES3 and AS3 in spring of 2004. Requires no special settings.
38 * The gcc (and libstdc++, if needed) package must be installed, along
39 with the typical system development packages (glibc-devel, etc.).
41 * The ncurses-devel package must be installed (for nbinfo).
43 * The zlib and zlib-devel packages must be installed. This will be
44 fixed in the future to include zlib in libnbcompat.
49 Requires a case sensitive filesystem such as UFS
51 * Tested on 10.2.8 with Dec 2002 Developer Tools
52 - may require a fix to /usr/bin/join, netbsd's join should work fine
53 * Tested on 10.3 with xcode 1.5
54 - compiles fine out of the box
58 NETBSD (earlier releases):
60 * Tested on NetBSD 1.5.2 (machine-independently).
62 * Should need no special setup.
68 * Tested on Solaris/x86 8 (5.8) with gcc 2.95.2 and Solaris/sparc 8 (5.8)
69 with gcc 3.2 (not yet tested with SUNWspro).
71 * $HOST_CC needs to be set properly (for gcc, it should be set to "gcc",
72 otherwise the improper /usr/ucb/cc may be invoked by accident).
74 * The SUNWzlib package (or a built version of zlib visible to $HOST_CC,
75 such as SMCzlib from sunfreeware.com) must be installed. This will be
76 fixed in the future to include zlib in libnbcompat.
78 * Needs the following paths, in this order, in $PATH:
82 <path to host C and C++ compilers>
85 /usr/ucb may optionally be placed before /usr/bin, per your preference,
86 but /usr/ucb *MUST NOT* be before /usr/ccs/bin or before the path to
87 the host C and C++ compilers.