Add files from parent branch HEAD:
[pkgsrc.git] / bootstrap / README.IRIX
1 $NetBSD: README.IRIX,v 1.5 2005/08/02 00:23:31 reed Exp $
2
3 You will need a working C compiler, either gcc or SGI's MIPS and MIPSpro
4 compiler (cc/c89).  Please set the CC environment variable according to your
5 preference.  If you do not have a license for the MIPSpro compiler suite, you
6 can download a gcc tardist file from http://freeware.sgi.com/.
7
8 Please note that you will need Irix 6.5.17 or higher, as this is the earliest
9 version of Irix providing support for if_indextoname(3), if_nametoindex(3),
10 etc.
11
12 At this point in time, pkgsrc only supports one ABI.  That is, you cannot
13 switch between the old 32-bit ABI, the new 32-bit ABI and the 64-bit ABI.  If
14 you start out using "abi=n32", that's what all your packages will be built
15 with.
16
17 Therefore, please make sure that you have no conflicting CFLAGS in your
18 environment or the /etc/mk.conf.  Particularly, make sure that you do
19 not try to link n32 object files with lib64 or vice versa.  Check your
20 /etc/compiler.defaults and $SGI_ABI!
21
22 If you have the actual pkgsrc tree mounted via NFS from a different host,
23 please make sure to set WRKOBJDIR to a local directory, as it appears that
24 Irix linker occasionally runs into issues when trying to link over a network
25 mounted filesystem.
26
27 The bootstrapping process should set all the right options for programs
28 such as imake(1), but you may want to set some options depending on your
29 local setup.  Please see pkgsrc/mk/defaults/mk.conf and, of course,
30 your compilers man pages for details.
31
32 If you are using SGI's MIPSPro compiler, please set
33
34 PKGSRC_COMPILER=mipspro
35
36 in /etc/mk.conf -- otherwise, pkgsrc will assume you are using gcc and may end
37 up passing invalid flags to the compiler.  Note that bootstrap should create
38 an appropriate mk.conf.example by default.
39
40 If you have both the MIPSPro compiler chain installed as well as gcc, but want
41 to make sure that MIPRPro is used, please set your PATH to not include the
42 location of gcc (often /usr/freeware/bin), and (important), pass the
43 '--preserve-path' flag.
44
45 bootstrap-pkgsrc has been tested on:
46         - an O2 with 1 180 MHZ IP32 Processor (R5000) (n32 ABI)
47           running 6.5.27
48         - an Origin 200 with 2 180 MHZ IP27 Processors (R10000) (64 ABI)
49           running 6.5.23