[BACK]Return to README.AIX CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / bootstrap

File: [cvs.NetBSD.org] / pkgsrc / bootstrap / README.AIX (download)

Revision 1.3, Fri Jul 29 00:56:24 2005 UTC (18 years, 8 months ago) by grant
Branch: MAIN
CVS Tags: pkgsrc-2007Q2-base, pkgsrc-2007Q2, pkgsrc-2007Q1-base, pkgsrc-2007Q1, pkgsrc-2006Q4-base, pkgsrc-2006Q4, pkgsrc-2006Q3-base, pkgsrc-2006Q3, pkgsrc-2006Q2-base, pkgsrc-2006Q2, pkgsrc-2006Q1-base, pkgsrc-2006Q1, pkgsrc-2005Q4-base, pkgsrc-2005Q4, pkgsrc-2005Q3-base, pkgsrc-2005Q3
Changes since 1.2: +7 -8 lines

wording tweaks

$NetBSD: README.AIX,v 1.3 2005/07/29 00:56:24 grant Exp $

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
--------------------

Some versions of AIX don't ship with gzip so install it and set
GUNZIP_CMD and GZCAT in mk.conf as needed.

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