2009-08-01 22:16:25 +02:00
|
|
|
$NetBSD: README.IRIX,v 1.7 2009/08/01 20:16:25 dholland Exp $
|
2004-03-11 14:03:58 +01:00
|
|
|
|
|
|
|
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.
|
|
|
|
|
2006-09-02 13:15:49 +02:00
|
|
|
At this point in time, pkgsrc only supports one ABI. That is, you cannot
|
2004-03-11 14:03:58 +01:00
|
|
|
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
|
2005-08-02 02:23:31 +02:00
|
|
|
local setup. Please see pkgsrc/mk/defaults/mk.conf and, of course,
|
2004-03-11 14:03:58 +01:00
|
|
|
your compilers man pages for details.
|
|
|
|
|
2005-03-24 20:36:30 +01:00
|
|
|
If you are using SGI's MIPSPro compiler, please set
|
|
|
|
|
|
|
|
PKGSRC_COMPILER=mipspro
|
|
|
|
|
|
|
|
in /etc/mk.conf -- otherwise, pkgsrc will assume you are using gcc and may end
|
2005-04-11 00:03:35 +02:00
|
|
|
up passing invalid flags to the compiler. Note that bootstrap should create
|
|
|
|
an appropriate mk.conf.example by default.
|
2005-03-24 20:36:30 +01:00
|
|
|
|
2005-04-11 00:03:35 +02:00
|
|
|
If you have both the MIPSPro compiler chain installed as well as gcc, but want
|
2009-08-01 22:16:25 +02:00
|
|
|
to make sure that MIPSPro is used, please set your PATH to not include the
|
2005-04-11 00:03:35 +02:00
|
|
|
location of gcc (often /usr/freeware/bin), and (important), pass the
|
|
|
|
'--preserve-path' flag.
|
|
|
|
|
|
|
|
bootstrap-pkgsrc has been tested on:
|
2004-09-12 19:43:37 +02:00
|
|
|
- an O2 with 1 180 MHZ IP32 Processor (R5000) (n32 ABI)
|
2005-04-11 00:03:35 +02:00
|
|
|
running 6.5.27
|
2004-09-12 19:43:37 +02:00
|
|
|
- an Origin 200 with 2 180 MHZ IP27 Processors (R10000) (64 ABI)
|
2005-04-11 00:03:35 +02:00
|
|
|
running 6.5.23
|