README revision 1.11
1$NetBSD: README,v 1.11 2004/06/22 01:51:22 jmc Exp $ 2 3Special notes for cross-hosting a NetBSD build on certain platforms. 4Only those platforms which have been tested to complete a "build.sh" run 5are listed. 6 7All hosts must have a POSIX compatible sh. /bin/sh is assumed unless 8otherwise set. This can be overridden by setting HOST_SH in the environment. 9 10In addition all hosts must provide the following local tools: 11 12gzip 13 14===== 15 16NetBSD: 17 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. 20 21HP-UX: 22 23* zlib must be available. 24 This will be fixed in the future to include zlib in libnbcompat. 25 26===== 27 28LINUX: 29 30* Tested on RedHat Linux 7.1 (i386). 31 Tested on RedHat Linux 7.3 (i686) on 16 Sep 2002. Requires "LANG=C" 32 in the environment. 33 34* Tested on Redhat Linux 8.0 (i686) in Fall 2003. Requires no special settings. 35 36* The gcc (and libstdc++, if needed) package must be installed, along 37 with the typical system development packages (glibc-devel, etc.). 38 39* The ncurses-devel package must be installed (for nbinfo). 40 41* The zlib and zlib-devel packages must be installed. This will be 42 fixed in the future to include zlib in libnbcompat. 43 44===== 45 46MACOS 47 Probably requires a case sensitive filesystem such as UFS 48 49* Tested on 10.2.8 with Dec 2002 Developer Tools 50 - may require a fix to /usr/bin/join, netbsd's join should work fine 51* Tested on 10.3 with xcode 1.0 52 - compiles fine out of the box 53 54===== 55 56NETBSD (earlier releases): 57 58* Tested on NetBSD 1.5.2 (machine-independently). 59 60* Should need no special setup. 61 62===== 63 64SOLARIS: 65 66* Tested on Solaris/x86 8 (5.8) with gcc 2.95.2 and Solaris/sparc 8 (5.8) 67 with gcc 3.2 (not yet tested with SUNWspro). 68 69* $HOST_CC needs to be set properly (for gcc, it should be set to "gcc", 70 otherwise the improper /usr/ucb/cc may be invoked by accident). 71 72* The SUNWzlib package (or a built version of zlib visible to $HOST_CC, 73 such as SMCzlib from sunfreeware.com) must be installed. This will be 74 fixed in the future to include zlib in libnbcompat. 75 76* Needs the following paths, in this order, in $PATH: 77 78 /usr/xpg4/bin 79 /usr/ccs/bin 80 <path to host C and C++ compilers> 81 /usr/bin 82 83 /usr/ucb may optionally be placed before /usr/bin, per your preference, 84 but /usr/ucb *MUST NOT* be before /usr/ccs/bin or before the path to 85 the host C and C++ compilers. 86