Home | History | Annotate | Line # | Download | only in compat
README revision 1.1
      1  1.1  tv $NetBSD: README,v 1.1 2002/02/01 04:43:39 tv Exp $
      2  1.1  tv 
      3  1.1  tv Special notes for cross-hosting a NetBSD build on certain platforms.  
      4  1.1  tv Only those platforms which have been tested to complete a "build.sh" run
      5  1.1  tv are listed.
      6  1.1  tv 
      7  1.1  tv =====
      8  1.1  tv 
      9  1.1  tv LINUX:
     10  1.1  tv 
     11  1.1  tv * Tested on RedHat Linux 7.1 (i386).
     12  1.1  tv 
     13  1.1  tv * The gcc (and libstdc++, if needed) package must be installed, along
     14  1.1  tv   with the typical system development packages (glibc-devel, etc.).
     15  1.1  tv 
     16  1.1  tv * The ncurses-devel package must be installed (for nbinfo).
     17  1.1  tv 
     18  1.1  tv * The zlib and zlib-devel packages must be installed.  This will be
     19  1.1  tv   fixed in the future to include zlib in libnbcompat.
     20  1.1  tv 
     21  1.1  tv * src/tools/dbsym will not build on this platform yet.  NO_DBSYM=1 may be set in
     22  1.1  tv   mk.conf or the environment to cause this to be skipped during the build
     23  1.1  tv   (harmless to non-embedded platforms).
     24  1.1  tv 
     25  1.1  tv =====
     26  1.1  tv 
     27  1.1  tv NETBSD (earlier releases):
     28  1.1  tv 
     29  1.1  tv * Tested on NetBSD 1.5.2 (machine-independently).
     30  1.1  tv 
     31  1.1  tv * Should need no special setup.
     32  1.1  tv 
     33  1.1  tv =====
     34  1.1  tv 
     35  1.1  tv SOLARIS:
     36  1.1  tv 
     37  1.1  tv * Tested on Solaris/x86 8 (5.8) with gcc 2.95.2 (not yet tested with
     38  1.1  tv   SUNWspro).
     39  1.1  tv 
     40  1.1  tv * $HOST_CC needs to be set properly (for gcc, it should be set to "gcc",
     41  1.1  tv   otherwise the improper /usr/ucb/cc may be invoked by accident).
     42  1.1  tv 
     43  1.1  tv * The SUNWxcu4 package (containing /usr/xpg4/bin/*) must be installed.
     44  1.1  tv 
     45  1.1  tv * The SUNWzlib package (or a built version of zlib visible to $HOST_CC)
     46  1.1  tv   must be installed.  This will be fixed in the future to include zlib
     47  1.1  tv   in libnbcompat.
     48  1.1  tv 
     49  1.1  tv * Needs the following paths, in this order, in $PATH:
     50  1.1  tv 
     51  1.1  tv       /usr/xpg4/bin:/usr/ccs/bin:/usr/bin
     52  1.1  tv 
     53  1.1  tv   (/usr/ucb may optionally be placed before /usr/bin per your preference,
     54  1.1  tv   but /usr/ucb *MUST NOT* be before /usr/ccs/bin or /usr/xpg4/bin!)
     55  1.1  tv 
     56  1.1  tv * /bin/sh *MUST* be replaced with a copy of, or symlink to, either
     57  1.1  tv   /bin/ksh or /usr/xpg4/bin/sh.  This will be fixed in the future to use
     58  1.1  tv   /usr/xpg4/bin/sh in nbmake by default.  (Solaris's /bin/sh is broken
     59  1.1  tv   in some fantastic and amazing ways.)
     60  1.1  tv 
     61  1.1  tv * Needs the "mktemp" script from src/tools/compat/scripts, made
     62  1.1  tv   executable, available somewhere in $PATH.  (Solaris has no
     63  1.1  tv   command-line mktemp(1).)  This may be worked around in the future.
     64  1.1  tv 
     65  1.1  tv * src/tools/dbsym will not build on this platform yet.  NO_DBSYM=1 may be set in
     66  1.1  tv   mk.conf or the environment to cause this to be skipped during the build
     67  1.1  tv   (harmless to non-embedded platforms).
     68