xref: /netbsd/tools/compat/README (revision c4a72b64)
1$NetBSD: README,v 1.8 2002/09/29 07:05:28 lukem Exp $
2
3Special notes for cross-hosting a NetBSD build on certain platforms.
4Only those platforms which have been tested to complete a "build.sh" run
5are listed.
6
7=====
8
9HP-UX:
10
11* zlib must be available.
12  This will be fixed in the future to include zlib in libnbcompat.
13
14=====
15
16LINUX:
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
32NETBSD (earlier releases):
33
34* Tested on NetBSD 1.5.2 (machine-independently).
35
36* Should need no special setup.
37
38=====
39
40SOLARIS:
41
42* Tested on Solaris/x86 8 (5.8) with gcc 2.95.2 and Solaris/sparc 8 (5.8)
43  with gcc 3.2 (not yet tested with SUNWspro).
44
45* $HOST_CC needs to be set properly (for gcc, it should be set to "gcc",
46  otherwise the improper /usr/ucb/cc may be invoked by accident).
47
48* The SUNWzlib package (or a built version of zlib visible to $HOST_CC,
49  such as SMCzlib from sunfreeware.com) must be installed.  This will be
50  fixed in the future to include zlib in libnbcompat.
51
52* Needs the following paths, in this order, in $PATH:
53
54      /usr/xpg4/bin
55      /usr/ccs/bin
56      <path to host C and C++ compilers>
57      /usr/bin
58
59  /usr/ucb may optionally be placed before /usr/bin, per your preference,
60  but /usr/ucb *MUST NOT* be before /usr/ccs/bin or before the path to
61  the host C and C++ compilers.
62