2022-04-04 00:28:13 +02:00
|
|
|
$NetBSD: README.OSF1,v 1.6 2022/04/03 22:28:13 tnn Exp $
|
2022-03-31 23:36:24 +02:00
|
|
|
|
2022-04-04 00:28:13 +02:00
|
|
|
As of 2022-03, bootstrapping on OSF/1 is broken.
|
|
|
|
This is due to bitrot in libarchive. Check this PR for updates:
|
|
|
|
https://github.com/libarchive/libarchive/pull/925
|
|
|
|
|
|
|
|
Prerequisites
|
|
|
|
-------------
|
|
|
|
Only Tru64 version 5.1B with the last patch kit is known to complete
|
|
|
|
pkgsrc bootstrap. in other words 5.1B-6 also known as
|
|
|
|
T64V51BB29AS0008-20100821.
|
2004-11-20 05:31:35 +01:00
|
|
|
|
2007-10-16 00:32:56 +02:00
|
|
|
Compiler
|
|
|
|
--------
|
|
|
|
Prebuilt GCC toolchains suitable for use with pkgsrc can be downloaded from
|
|
|
|
ftp://ftp.NetBSD.org/pub/pkgsrc/misc/tnn/ .
|
2007-04-20 15:16:01 +02:00
|
|
|
|
2015-04-19 21:29:44 +02:00
|
|
|
Installation instructions can be found in the file "README.gcc".
|
2022-04-04 00:28:13 +02:00
|
|
|
In particular, do not forget to run mkheaders.
|
2015-04-19 21:29:44 +02:00
|
|
|
|
2007-04-20 15:16:01 +02:00
|
|
|
Bootstrapping pkgsrc
|
|
|
|
--------------------
|
2022-04-04 00:28:13 +02:00
|
|
|
To use the native compiler (CXX710V06.tar with CXXOSF license):
|
2004-11-20 05:31:35 +01:00
|
|
|
|
2007-10-16 00:32:56 +02:00
|
|
|
# env CPP=/usr/bin/cpp CC=/usr/bin/cc ./bootstrap --compiler ccc
|
2004-11-20 05:31:35 +01:00
|
|
|
|
2007-10-16 00:32:56 +02:00
|
|
|
To use the GCC compiler kit from above:
|
2004-11-20 05:31:35 +01:00
|
|
|
|
2022-04-04 00:28:13 +02:00
|
|
|
# PATH=/usr/local/gcc4/bin:$PATH
|
|
|
|
# export PATH
|
|
|
|
# ./bootstrap --compiler gcc
|
2004-11-20 05:31:35 +01:00
|
|
|
|
2007-10-16 00:32:56 +02:00
|
|
|
mk.conf setup
|
|
|
|
-------------
|
|
|
|
To use gcc, you must set the following variables in mk.conf:
|
2004-11-20 05:31:35 +01:00
|
|
|
|
2007-10-16 00:32:56 +02:00
|
|
|
PKGSRC_COMPILER=gcc
|
2022-04-04 00:28:13 +02:00
|
|
|
GCCBASE=/usr/local/gcc4
|
|
|
|
|
|
|
|
It is necessary to keep /usr/local/gcc4/bin in PATH for GNU binutils.
|