README revision 1.9
11.9Sdbj$NetBSD: README,v 1.9 2003/11/17 05:42:58 dbj 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.7Slukem===== 81.7Slukem 91.8SlukemHP-UX: 101.7Slukem 111.7Slukem* zlib must be available. 121.7Slukem This will be fixed in the future to include zlib in libnbcompat. 131.1Stv 141.1Stv===== 151.1Stv 161.1StvLINUX: 171.1Stv 181.1Stv* Tested on RedHat Linux 7.1 (i386). 191.6Sbriggs Tested on RedHat Linux 7.3 (i686) on 16 Sep 2002. Requires "LANG=C" 201.6Sbriggs in the environment. 211.1Stv 221.1Stv* The gcc (and libstdc++, if needed) package must be installed, along 231.1Stv with the typical system development packages (glibc-devel, etc.). 241.1Stv 251.1Stv* The ncurses-devel package must be installed (for nbinfo). 261.1Stv 271.1Stv* The zlib and zlib-devel packages must be installed. This will be 281.1Stv fixed in the future to include zlib in libnbcompat. 291.9Sdbj 301.9Sdbj===== 311.9Sdbj 321.9SdbjMACOS 331.9Sdbj Probably requires a case sensitive filesystem such as UFS 341.9Sdbj 351.9Sdbj* Tested on 10.2.8 with Dec 2002 Developer Tools 361.9Sdbj - may require a fix to /usr/bin/join, netbsd's join should work fine 371.9Sdbj* Tested on 10.3 with xcode 1.0 381.9Sdbj - compiles fine out of the box 391.1Stv 401.1Stv===== 411.1Stv 421.1StvNETBSD (earlier releases): 431.1Stv 441.1Stv* Tested on NetBSD 1.5.2 (machine-independently). 451.1Stv 461.1Stv* Should need no special setup. 471.1Stv 481.1Stv===== 491.1Stv 501.1StvSOLARIS: 511.1Stv 521.4Sthorpej* Tested on Solaris/x86 8 (5.8) with gcc 2.95.2 and Solaris/sparc 8 (5.8) 531.4Sthorpej with gcc 3.2 (not yet tested with SUNWspro). 541.1Stv 551.1Stv* $HOST_CC needs to be set properly (for gcc, it should be set to "gcc", 561.1Stv otherwise the improper /usr/ucb/cc may be invoked by accident). 571.1Stv 581.4Sthorpej* The SUNWzlib package (or a built version of zlib visible to $HOST_CC, 591.4Sthorpej such as SMCzlib from sunfreeware.com) must be installed. This will be 601.4Sthorpej fixed in the future to include zlib in libnbcompat. 611.1Stv 621.1Stv* Needs the following paths, in this order, in $PATH: 631.1Stv 641.5Sthorpej /usr/xpg4/bin 651.4Sthorpej /usr/ccs/bin 661.4Sthorpej <path to host C and C++ compilers> 671.4Sthorpej /usr/bin 681.4Sthorpej 691.4Sthorpej /usr/ucb may optionally be placed before /usr/bin, per your preference, 701.4Sthorpej but /usr/ucb *MUST NOT* be before /usr/ccs/bin or before the path to 711.4Sthorpej the host C and C++ compilers. 72