Pullup ticket #3704.
[pkgsrcv2.git] / bootstrap / README.AIX
1 $NetBSD: README.AIX,v 1.3 2005/07/29 00:56:24 grant Exp $
2
3 pkgsrc has been tested on AIX 4.3 and 5.1. It will probably work on
4 newer releases also.
5
6 You will need gcc. gcc 3.3 and 3.4 have been tested. full support for
7 xlC needs to be written.
8
9 Please note the use of GNU binutils on AIX is not supported. You must
10 not have GNU ld(1) in your path.
11
12 If you are using gcc
13 --------------------
14 It makes life much simpler if you only use the same gcc consistently
15 for building all packages.
16
17 It is recommended that an external gcc be used only for bootstrapping
18 gcc from pkgsrc, lang/gcc3 is recommended.
19
20 Post bootstrap setup
21 --------------------
22
23 Here is an example mk.conf:
24
25 --- Cut here ---
26 # Configure scripts don't always get this right
27 MACHINE_GNU_PLATFORM=powerpc-ibm-aix4.3.3.0
28 CC=gcc
29 CHECK_SHLIBS=no
30 RENAME=
31 USE_GCC3=yes
32 PKGMAKECONF=${MAKECONF}
33 --- Cut here ---
34
35 You also need to setup a few environment variables:
36
37 PKG_DBDIR=/usr/pkg/pkgdb
38 MAKECONF=/usr/pkg/etc/mk.conf
39 MAKESYSPATH=/usr/pkg/share/mk
40
41 You'll also want to set PATH, MANPATH and LIBPATH