README revision 1.10
1$NetBSD: README,v 1.10 2003/12/29 07:09:44 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 16HP-UX: 17 18* zlib must be available. 19 This will be fixed in the future to include zlib in libnbcompat. 20 21===== 22 23LINUX: 24 25* Tested on RedHat Linux 7.1 (i386). 26 Tested on RedHat Linux 7.3 (i686) on 16 Sep 2002. Requires "LANG=C" 27 in the environment. 28 29* Tested on Redhat Linux 8.0 (i686) in Fall 2003. Requires no special settings. 30 31* The gcc (and libstdc++, if needed) package must be installed, along 32 with the typical system development packages (glibc-devel, etc.). 33 34* The ncurses-devel package must be installed (for nbinfo). 35 36* The zlib and zlib-devel packages must be installed. This will be 37 fixed in the future to include zlib in libnbcompat. 38 39===== 40 41MACOS 42 Probably requires a case sensitive filesystem such as UFS 43 44* Tested on 10.2.8 with Dec 2002 Developer Tools 45 - may require a fix to /usr/bin/join, netbsd's join should work fine 46* Tested on 10.3 with xcode 1.0 47 - compiles fine out of the box 48 49===== 50 51NETBSD (earlier releases): 52 53* Tested on NetBSD 1.5.2 (machine-independently). 54 55* Should need no special setup. 56 57===== 58 59SOLARIS: 60 61* Tested on Solaris/x86 8 (5.8) with gcc 2.95.2 and Solaris/sparc 8 (5.8) 62 with gcc 3.2 (not yet tested with SUNWspro). 63 64* $HOST_CC needs to be set properly (for gcc, it should be set to "gcc", 65 otherwise the improper /usr/ucb/cc may be invoked by accident). 66 67* The SUNWzlib package (or a built version of zlib visible to $HOST_CC, 68 such as SMCzlib from sunfreeware.com) must be installed. This will be 69 fixed in the future to include zlib in libnbcompat. 70 71* Needs the following paths, in this order, in $PATH: 72 73 /usr/xpg4/bin 74 /usr/ccs/bin 75 <path to host C and C++ compilers> 76 /usr/bin 77 78 /usr/ucb may optionally be placed before /usr/bin, per your preference, 79 but /usr/ucb *MUST NOT* be before /usr/ccs/bin or before the path to 80 the host C and C++ compilers. 81