README revision 1.4 1 1.4 thorpej $NetBSD: README,v 1.4 2002/09/13 19:07:01 thorpej 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 =====
22 1.1 tv
23 1.1 tv NETBSD (earlier releases):
24 1.1 tv
25 1.1 tv * Tested on NetBSD 1.5.2 (machine-independently).
26 1.1 tv
27 1.1 tv * Should need no special setup.
28 1.1 tv
29 1.1 tv =====
30 1.1 tv
31 1.1 tv SOLARIS:
32 1.1 tv
33 1.4 thorpej * Tested on Solaris/x86 8 (5.8) with gcc 2.95.2 and Solaris/sparc 8 (5.8)
34 1.4 thorpej with gcc 3.2 (not yet tested with SUNWspro).
35 1.1 tv
36 1.1 tv * $HOST_CC needs to be set properly (for gcc, it should be set to "gcc",
37 1.1 tv otherwise the improper /usr/ucb/cc may be invoked by accident).
38 1.1 tv
39 1.4 thorpej * The SUNWzlib package (or a built version of zlib visible to $HOST_CC,
40 1.4 thorpej such as SMCzlib from sunfreeware.com) must be installed. This will be
41 1.4 thorpej fixed in the future to include zlib in libnbcompat.
42 1.1 tv
43 1.1 tv * Needs the following paths, in this order, in $PATH:
44 1.1 tv
45 1.4 thorpej /usr/ccs/bin
46 1.4 thorpej <path to host C and C++ compilers>
47 1.4 thorpej /usr/bin
48 1.4 thorpej
49 1.4 thorpej /usr/ucb may optionally be placed before /usr/bin, per your preference,
50 1.4 thorpej but /usr/ucb *MUST NOT* be before /usr/ccs/bin or before the path to
51 1.4 thorpej the host C and C++ compilers.
52 1.4 thorpej
53 1.4 thorpej Also note that /usr/xpg4/bin *MUST NOT* be in the path before /usr/bin.
54 1.4 thorpej /usr/xpg4/bin/sh is a symbolic link to /usr/bin/ksh, which has different
55 1.4 thorpej semantics for "pwd" than /usr/bin/sh. Since nbmake uses /bin/sh (which
56 1.4 thorpej is a symbolic link to /usr/bin/sh), the different semantics break obj
57 1.4 thorpej directories in the presence of symbolic links, especially if using NFS.
58