README revision 1.9 1 $NetBSD: README,v 1.9 2003/11/17 05:42:58 dbj 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 HP-UX:
10
11 * zlib must be available.
12 This will be fixed in the future to include zlib in libnbcompat.
13
14 =====
15
16 LINUX:
17
18 * Tested on RedHat Linux 7.1 (i386).
19 Tested on RedHat Linux 7.3 (i686) on 16 Sep 2002. Requires "LANG=C"
20 in the environment.
21
22 * The gcc (and libstdc++, if needed) package must be installed, along
23 with the typical system development packages (glibc-devel, etc.).
24
25 * The ncurses-devel package must be installed (for nbinfo).
26
27 * The zlib and zlib-devel packages must be installed. This will be
28 fixed in the future to include zlib in libnbcompat.
29
30 =====
31
32 MACOS
33 Probably requires a case sensitive filesystem such as UFS
34
35 * Tested on 10.2.8 with Dec 2002 Developer Tools
36 - may require a fix to /usr/bin/join, netbsd's join should work fine
37 * Tested on 10.3 with xcode 1.0
38 - compiles fine out of the box
39
40 =====
41
42 NETBSD (earlier releases):
43
44 * Tested on NetBSD 1.5.2 (machine-independently).
45
46 * Should need no special setup.
47
48 =====
49
50 SOLARIS:
51
52 * Tested on Solaris/x86 8 (5.8) with gcc 2.95.2 and Solaris/sparc 8 (5.8)
53 with gcc 3.2 (not yet tested with SUNWspro).
54
55 * $HOST_CC needs to be set properly (for gcc, it should be set to "gcc",
56 otherwise the improper /usr/ucb/cc may be invoked by accident).
57
58 * The SUNWzlib package (or a built version of zlib visible to $HOST_CC,
59 such as SMCzlib from sunfreeware.com) must be installed. This will be
60 fixed in the future to include zlib in libnbcompat.
61
62 * Needs the following paths, in this order, in $PATH:
63
64 /usr/xpg4/bin
65 /usr/ccs/bin
66 <path to host C and C++ compilers>
67 /usr/bin
68
69 /usr/ucb may optionally be placed before /usr/bin, per your preference,
70 but /usr/ucb *MUST NOT* be before /usr/ccs/bin or before the path to
71 the host C and C++ compilers.
72