bc1d07a8b2
Caution that the rest of the AIX README is from <= 2007.
54 lines
1.3 KiB
Text
54 lines
1.3 KiB
Text
$NetBSD: README.AIX,v 1.5 2022/04/05 12:57:21 gdt Exp $
|
|
|
|
In 2022-04, there was a report that pkgsrc-current fails to bootstrap
|
|
on AIX 7.1 with gcc 8.3:
|
|
http://mail-index.netbsd.org/pkgsrc-users/2022/04/04/msg035424.html
|
|
|
|
Ancient Information
|
|
===================
|
|
|
|
All of the below is from 2007 or earlier.
|
|
|
|
Status
|
|
-----
|
|
|
|
pkgsrc has been tested on AIX 4.3 and 5.1. It will probably work on
|
|
newer releases also.
|
|
|
|
You will need gcc. gcc 3.3 and 3.4 have been tested. full support for
|
|
xlC needs to be written.
|
|
|
|
Please note the use of GNU binutils on AIX is not supported. You must
|
|
not have GNU ld(1) 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
|