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