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