summaryrefslogtreecommitdiff
path: root/bootstrap/README.AIX
diff options
context:
space:
mode:
authorgrant <grant>2004-03-11 13:03:58 +0000
committergrant <grant>2004-03-11 13:03:58 +0000
commit22558400f48c03ddcc5a52850ff9a7db1d5d7f64 (patch)
tree3434d463e0789e4ff8d9e78dbc0ec913e5aec800 /bootstrap/README.AIX
parentdba57bcb6a167974762bd4e69d11a298b01cebc3 (diff)
downloadpkgsrc-22558400f48c03ddcc5a52850ff9a7db1d5d7f64.tar.gz
import the required bits of bootstrap-pkgsrc from 20040311.
Diffstat (limited to 'bootstrap/README.AIX')
-rw-r--r--bootstrap/README.AIX42
1 files changed, 42 insertions, 0 deletions
diff --git a/bootstrap/README.AIX b/bootstrap/README.AIX
new file mode 100644
index 00000000000..25f636ee98d
--- /dev/null
+++ b/bootstrap/README.AIX
@@ -0,0 +1,42 @@
+$NetBSD: README.AIX,v 1.1.1.1 2004/03/11 13:03:59 grant Exp $
+
+You will need gcc. The AIX xlC compiler doesn't work, but probably
+could be made to. gcc-3.3.2 has been tested.
+
+bootstrap-pkgsrc has been tested on AIX 4.3. It will probably work on newer
+releases also.
+
+Please note the use of GNU binutils on AIX is not supported.
+Make sure GNU ld is not in your path.
+
+If you are using gcc
+--------------------
+It makes life much simpler if you only use the same gcc consistently
+for building all packages.
+
+It is recommended that an external gcc be used only for bootstrapping
+gcc from pkgsrc, lang/gcc3 is recommended.
+
+Post bootstrap setup
+--------------------
+
+Here is an example mk.conf:
+
+--- Cut here ---
+# Configure scripts don't always get this right
+MACHINE_GNU_PLATFORM=powerpc-ibm-aix4.3.3.0
+CC=gcc
+CHECK_SHLIBS=no
+RENAME=
+USE_GCC3=yes
+PKGMAKECONF=${MAKECONF}
+--- Cut here ---
+
+You also need to setup a few environment variables:
+
+PKG_DBDIR=/usr/pkg/pkgdb
+MAKECONF=/usr/pkg/etc/mk.conf
+MAKESYSPATH=/usr/pkg/share/mk
+
+You'll also want to set PATH, MANPATH and LIBPATH
+