README revision 1.4
1$NetBSD: README,v 1.4 2002/09/13 19:07:01 thorpej 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 7===== 8 9LINUX: 10 11* Tested on RedHat Linux 7.1 (i386). 12 13* The gcc (and libstdc++, if needed) package must be installed, along 14 with the typical system development packages (glibc-devel, etc.). 15 16* The ncurses-devel package must be installed (for nbinfo). 17 18* The zlib and zlib-devel packages must be installed. This will be 19 fixed in the future to include zlib in libnbcompat. 20 21===== 22 23NETBSD (earlier releases): 24 25* Tested on NetBSD 1.5.2 (machine-independently). 26 27* Should need no special setup. 28 29===== 30 31SOLARIS: 32 33* Tested on Solaris/x86 8 (5.8) with gcc 2.95.2 and Solaris/sparc 8 (5.8) 34 with gcc 3.2 (not yet tested with SUNWspro). 35 36* $HOST_CC needs to be set properly (for gcc, it should be set to "gcc", 37 otherwise the improper /usr/ucb/cc may be invoked by accident). 38 39* The SUNWzlib package (or a built version of zlib visible to $HOST_CC, 40 such as SMCzlib from sunfreeware.com) must be installed. This will be 41 fixed in the future to include zlib in libnbcompat. 42 43* Needs the following paths, in this order, in $PATH: 44 45 /usr/ccs/bin 46 <path to host C and C++ compilers> 47 /usr/bin 48 49 /usr/ucb may optionally be placed before /usr/bin, per your preference, 50 but /usr/ucb *MUST NOT* be before /usr/ccs/bin or before the path to 51 the host C and C++ compilers. 52 53 Also note that /usr/xpg4/bin *MUST NOT* be in the path before /usr/bin. 54 /usr/xpg4/bin/sh is a symbolic link to /usr/bin/ksh, which has different 55 semantics for "pwd" than /usr/bin/sh. Since nbmake uses /bin/sh (which 56 is a symbolic link to /usr/bin/sh), the different semantics break obj 57 directories in the presence of symbolic links, especially if using NFS. 58