summaryrefslogtreecommitdiff
path: root/bootstrap/README.IRIX
blob: aeb23927cb5cf610a66bcc9581121e02fd9b3319 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
$NetBSD: README.IRIX,v 1.1.1.1 2004/03/11 13:03:59 grant Exp $

You will need a working C compiler, either gcc or SGI's MIPS and MIPSpro
compiler (cc/c89).  Please set the CC environment variable according to your
preference.  If you do not have a license for the MIPSpro compiler suite, you
can download a gcc tardist file from http://freeware.sgi.com/.

Please note that you will need Irix 6.5.17 or higher, as this is the earliest
version of Irix providing support for if_indextoname(3), if_nametoindex(3),
etc.

At this point in time, pkgsrc only supports one ABI.  That is, you can not
switch between the old 32-bit ABI, the new 32-bit ABI and the 64-bit ABI.  If
you start out using "abi=n32", that's what all your packages will be built
with.

Therefore, please make sure that you have no conflicting CFLAGS in your
environment or the /etc/mk.conf.  Particularly, make sure that you do
not try to link n32 object files with lib64 or vice versa.  Check your
/etc/compiler.defaults and $SGI_ABI!

If you have the actual pkgsrc tree mounted via NFS from a different host,
please make sure to set WRKOBJDIR to a local directory, as it appears that
Irix linker occasionally runs into issues when trying to link over a network
mounted filesystem.

The bootstrapping process should set all the right options for programs
such as imake(1), but you may want to set some options depending on your
local setup.  Please see pkgsrc/mk/bsd.pkg.defaults.mk and, of course,
your compilers man pages for details.

bootstrap-pkgsrc has been tested on Irix 6.5.18 on:
	- an O2 with 1 195 MHZ IP32 Processor (R10000)