README revision 1.10
11.10Sjmc$NetBSD: README,v 1.10 2003/12/29 07:09:44 jmc Exp $ 21.1Stv 31.1StvSpecial notes for cross-hosting a NetBSD build on certain platforms. 41.1StvOnly those platforms which have been tested to complete a "build.sh" run 51.1Stvare listed. 61.7Slukem 71.10SjmcAll hosts must have a POSIX compatible sh. /bin/sh is assumed unless 81.10Sjmcotherwise set. This can be overridden by setting HOST_SH in the environment. 91.10Sjmc 101.10SjmcIn addition all hosts must provide the following local tools: 111.10Sjmc 121.10Sjmcgzip 131.10Sjmc 141.7Slukem===== 151.7Slukem 161.8SlukemHP-UX: 171.7Slukem 181.7Slukem* zlib must be available. 191.7Slukem This will be fixed in the future to include zlib in libnbcompat. 201.1Stv 211.1Stv===== 221.1Stv 231.1StvLINUX: 241.1Stv 251.1Stv* Tested on RedHat Linux 7.1 (i386). 261.6Sbriggs Tested on RedHat Linux 7.3 (i686) on 16 Sep 2002. Requires "LANG=C" 271.6Sbriggs in the environment. 281.1Stv 291.10Sjmc* Tested on Redhat Linux 8.0 (i686) in Fall 2003. Requires no special settings. 301.10Sjmc 311.1Stv* The gcc (and libstdc++, if needed) package must be installed, along 321.1Stv with the typical system development packages (glibc-devel, etc.). 331.1Stv 341.1Stv* The ncurses-devel package must be installed (for nbinfo). 351.1Stv 361.1Stv* The zlib and zlib-devel packages must be installed. This will be 371.1Stv fixed in the future to include zlib in libnbcompat. 381.9Sdbj 391.9Sdbj===== 401.9Sdbj 411.9SdbjMACOS 421.9Sdbj Probably requires a case sensitive filesystem such as UFS 431.9Sdbj 441.9Sdbj* Tested on 10.2.8 with Dec 2002 Developer Tools 451.9Sdbj - may require a fix to /usr/bin/join, netbsd's join should work fine 461.9Sdbj* Tested on 10.3 with xcode 1.0 471.9Sdbj - compiles fine out of the box 481.1Stv 491.1Stv===== 501.1Stv 511.1StvNETBSD (earlier releases): 521.1Stv 531.1Stv* Tested on NetBSD 1.5.2 (machine-independently). 541.1Stv 551.1Stv* Should need no special setup. 561.1Stv 571.1Stv===== 581.1Stv 591.1StvSOLARIS: 601.1Stv 611.4Sthorpej* Tested on Solaris/x86 8 (5.8) with gcc 2.95.2 and Solaris/sparc 8 (5.8) 621.4Sthorpej with gcc 3.2 (not yet tested with SUNWspro). 631.1Stv 641.1Stv* $HOST_CC needs to be set properly (for gcc, it should be set to "gcc", 651.1Stv otherwise the improper /usr/ucb/cc may be invoked by accident). 661.1Stv 671.4Sthorpej* The SUNWzlib package (or a built version of zlib visible to $HOST_CC, 681.4Sthorpej such as SMCzlib from sunfreeware.com) must be installed. This will be 691.4Sthorpej fixed in the future to include zlib in libnbcompat. 701.1Stv 711.1Stv* Needs the following paths, in this order, in $PATH: 721.1Stv 731.5Sthorpej /usr/xpg4/bin 741.4Sthorpej /usr/ccs/bin 751.4Sthorpej <path to host C and C++ compilers> 761.4Sthorpej /usr/bin 771.4Sthorpej 781.4Sthorpej /usr/ucb may optionally be placed before /usr/bin, per your preference, 791.4Sthorpej but /usr/ucb *MUST NOT* be before /usr/ccs/bin or before the path to 801.4Sthorpej the host C and C++ compilers. 81