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