README revision 1.4
11.4Sthorpej$NetBSD: README,v 1.4 2002/09/13 19:07:01 thorpej 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.1Stv
71.1Stv=====
81.1Stv
91.1StvLINUX:
101.1Stv
111.1Stv* Tested on RedHat Linux 7.1 (i386).
121.1Stv
131.1Stv* The gcc (and libstdc++, if needed) package must be installed, along
141.1Stv  with the typical system development packages (glibc-devel, etc.).
151.1Stv
161.1Stv* The ncurses-devel package must be installed (for nbinfo).
171.1Stv
181.1Stv* The zlib and zlib-devel packages must be installed.  This will be
191.1Stv  fixed in the future to include zlib in libnbcompat.
201.1Stv
211.1Stv=====
221.1Stv
231.1StvNETBSD (earlier releases):
241.1Stv
251.1Stv* Tested on NetBSD 1.5.2 (machine-independently).
261.1Stv
271.1Stv* Should need no special setup.
281.1Stv
291.1Stv=====
301.1Stv
311.1StvSOLARIS:
321.1Stv
331.4Sthorpej* Tested on Solaris/x86 8 (5.8) with gcc 2.95.2 and Solaris/sparc 8 (5.8)
341.4Sthorpej  with gcc 3.2 (not yet tested with SUNWspro).
351.1Stv
361.1Stv* $HOST_CC needs to be set properly (for gcc, it should be set to "gcc",
371.1Stv  otherwise the improper /usr/ucb/cc may be invoked by accident).
381.1Stv
391.4Sthorpej* The SUNWzlib package (or a built version of zlib visible to $HOST_CC,
401.4Sthorpej  such as SMCzlib from sunfreeware.com) must be installed.  This will be
411.4Sthorpej  fixed in the future to include zlib in libnbcompat.
421.1Stv
431.1Stv* Needs the following paths, in this order, in $PATH:
441.1Stv
451.4Sthorpej      /usr/ccs/bin
461.4Sthorpej      <path to host C and C++ compilers>
471.4Sthorpej      /usr/bin
481.4Sthorpej
491.4Sthorpej  /usr/ucb may optionally be placed before /usr/bin, per your preference,
501.4Sthorpej  but /usr/ucb *MUST NOT* be before /usr/ccs/bin or before the path to
511.4Sthorpej  the host C and C++ compilers.
521.4Sthorpej
531.4Sthorpej  Also note that /usr/xpg4/bin *MUST NOT* be in the path before /usr/bin.
541.4Sthorpej  /usr/xpg4/bin/sh is a symbolic link to /usr/bin/ksh, which has different
551.4Sthorpej  semantics for "pwd" than /usr/bin/sh.  Since nbmake uses /bin/sh (which
561.4Sthorpej  is a symbolic link to /usr/bin/sh), the different semantics break obj
571.4Sthorpej  directories in the presence of symbolic links, especially if using NFS.
58