README revision 1.12
11.12Sjmc$NetBSD: README,v 1.12 2005/04/05 00:21:22 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.11SjmcNetBSD: 171.11Sjmc 181.11Sjmc* _NETBSD_SOURCE is *not* to be defined/pulled in during compat/tools builds. 191.11Sjmc compat_defs.h will error out if it finds it defined. 201.11Sjmc 211.8SlukemHP-UX: 221.7Slukem 231.7Slukem* zlib must be available. 241.7Slukem This will be fixed in the future to include zlib in libnbcompat. 251.1Stv 261.1Stv===== 271.1Stv 281.1StvLINUX: 291.1Stv 301.1Stv* Tested on RedHat Linux 7.1 (i386). 311.6Sbriggs Tested on RedHat Linux 7.3 (i686) on 16 Sep 2002. Requires "LANG=C" 321.6Sbriggs in the environment. 331.1Stv 341.10Sjmc* Tested on Redhat Linux 8.0 (i686) in Fall 2003. Requires no special settings. 351.10Sjmc 361.12Sjmc* Tested on Redhat ES3 and AS3 in spring of 2004. Requires no special settings. 371.12Sjmc 381.1Stv* The gcc (and libstdc++, if needed) package must be installed, along 391.1Stv with the typical system development packages (glibc-devel, etc.). 401.1Stv 411.1Stv* The ncurses-devel package must be installed (for nbinfo). 421.1Stv 431.1Stv* The zlib and zlib-devel packages must be installed. This will be 441.1Stv fixed in the future to include zlib in libnbcompat. 451.9Sdbj 461.9Sdbj===== 471.9Sdbj 481.9SdbjMACOS 491.12Sjmc Requires a case sensitive filesystem such as UFS 501.9Sdbj 511.9Sdbj* Tested on 10.2.8 with Dec 2002 Developer Tools 521.9Sdbj - may require a fix to /usr/bin/join, netbsd's join should work fine 531.12Sjmc* Tested on 10.3 with xcode 1.5 541.9Sdbj - compiles fine out of the box 551.1Stv 561.1Stv===== 571.1Stv 581.1StvNETBSD (earlier releases): 591.1Stv 601.1Stv* Tested on NetBSD 1.5.2 (machine-independently). 611.1Stv 621.1Stv* Should need no special setup. 631.1Stv 641.1Stv===== 651.1Stv 661.1StvSOLARIS: 671.1Stv 681.4Sthorpej* Tested on Solaris/x86 8 (5.8) with gcc 2.95.2 and Solaris/sparc 8 (5.8) 691.4Sthorpej with gcc 3.2 (not yet tested with SUNWspro). 701.1Stv 711.1Stv* $HOST_CC needs to be set properly (for gcc, it should be set to "gcc", 721.1Stv otherwise the improper /usr/ucb/cc may be invoked by accident). 731.1Stv 741.4Sthorpej* The SUNWzlib package (or a built version of zlib visible to $HOST_CC, 751.4Sthorpej such as SMCzlib from sunfreeware.com) must be installed. This will be 761.4Sthorpej fixed in the future to include zlib in libnbcompat. 771.1Stv 781.1Stv* Needs the following paths, in this order, in $PATH: 791.1Stv 801.5Sthorpej /usr/xpg4/bin 811.4Sthorpej /usr/ccs/bin 821.4Sthorpej <path to host C and C++ compilers> 831.4Sthorpej /usr/bin 841.4Sthorpej 851.4Sthorpej /usr/ucb may optionally be placed before /usr/bin, per your preference, 861.4Sthorpej but /usr/ucb *MUST NOT* be before /usr/ccs/bin or before the path to 871.4Sthorpej the host C and C++ compilers. 88