README revision 1.1
11.1Stv$NetBSD: README,v 1.1 2002/02/01 04:43:39 tv 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* src/tools/dbsym will not build on this platform yet.  NO_DBSYM=1 may be set in
221.1Stv  mk.conf or the environment to cause this to be skipped during the build
231.1Stv  (harmless to non-embedded platforms).
241.1Stv
251.1Stv=====
261.1Stv
271.1StvNETBSD (earlier releases):
281.1Stv
291.1Stv* Tested on NetBSD 1.5.2 (machine-independently).
301.1Stv
311.1Stv* Should need no special setup.
321.1Stv
331.1Stv=====
341.1Stv
351.1StvSOLARIS:
361.1Stv
371.1Stv* Tested on Solaris/x86 8 (5.8) with gcc 2.95.2 (not yet tested with
381.1Stv  SUNWspro).
391.1Stv
401.1Stv* $HOST_CC needs to be set properly (for gcc, it should be set to "gcc",
411.1Stv  otherwise the improper /usr/ucb/cc may be invoked by accident).
421.1Stv
431.1Stv* The SUNWxcu4 package (containing /usr/xpg4/bin/*) must be installed.
441.1Stv
451.1Stv* The SUNWzlib package (or a built version of zlib visible to $HOST_CC)
461.1Stv  must be installed.  This will be fixed in the future to include zlib
471.1Stv  in libnbcompat.
481.1Stv
491.1Stv* Needs the following paths, in this order, in $PATH:
501.1Stv
511.1Stv      /usr/xpg4/bin:/usr/ccs/bin:/usr/bin
521.1Stv
531.1Stv  (/usr/ucb may optionally be placed before /usr/bin per your preference,
541.1Stv  but /usr/ucb *MUST NOT* be before /usr/ccs/bin or /usr/xpg4/bin!)
551.1Stv
561.1Stv* /bin/sh *MUST* be replaced with a copy of, or symlink to, either
571.1Stv  /bin/ksh or /usr/xpg4/bin/sh.  This will be fixed in the future to use
581.1Stv  /usr/xpg4/bin/sh in nbmake by default.  (Solaris's /bin/sh is broken
591.1Stv  in some fantastic and amazing ways.)
601.1Stv
611.1Stv* Needs the "mktemp" script from src/tools/compat/scripts, made
621.1Stv  executable, available somewhere in $PATH.  (Solaris has no
631.1Stv  command-line mktemp(1).)  This may be worked around in the future.
641.1Stv
651.1Stv* src/tools/dbsym will not build on this platform yet.  NO_DBSYM=1 may be set in
661.1Stv  mk.conf or the environment to cause this to be skipped during the build
671.1Stv  (harmless to non-embedded platforms).
68