summaryrefslogtreecommitdiff
path: root/bootstrap/README.OSF1
blob: 7c21407f27d4f1d79362498808f21fdfc940fb5a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
$NetBSD: README.OSF1,v 1.6 2022/04/03 22:28:13 tnn Exp $

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.

Compiler
--------
Prebuilt GCC toolchains suitable for use with pkgsrc can be downloaded from
	ftp://ftp.NetBSD.org/pub/pkgsrc/misc/tnn/ .

Installation instructions can be found in the file "README.gcc".
In particular, do not forget to run mkheaders.

Bootstrapping pkgsrc
--------------------
To use the native compiler (CXX710V06.tar with CXXOSF license):

	# env CPP=/usr/bin/cpp CC=/usr/bin/cc ./bootstrap --compiler ccc

To use the GCC compiler kit from above:

	# PATH=/usr/local/gcc4/bin:$PATH
	# export PATH
	# ./bootstrap --compiler gcc

mk.conf setup
-------------
To use gcc, you must set the following variables in mk.conf:

	PKGSRC_COMPILER=gcc
	GCCBASE=/usr/local/gcc4

It is necessary to keep /usr/local/gcc4/bin in PATH for GNU binutils.