Fixup fromcvs/togit conversion
[pkgsrcv2.git] / bootstrap / README.OSF1
1 $NetBSD: README.OSF1,v 1.2 2007/04/20 13:16:01 tnn Exp $
2
3 Compiler
4 --------
5 Prebuilt GCC toolchains suitable for use with pkgsrc can be downloaded from
6         ftp://ftp.NetBSD.org/pub/pkgsrc/misc/tnn/ .
7
8 Bootstrapping pkgsrc
9 --------------------
10 To use the native compiler:
11
12         # env CPP=/usr/bin/cpp CC=/usr/bin/cc ./bootstrap --compiler ccc
13
14 To use the GCC compiler kit from above:
15
16         # env CC=/usr/local/gcc4/bin/gcc CFLAGS=-O2 ./bootstrap --compiler gcc
17
18 mk.conf setup
19 -------------
20 To use gcc, you must set the following variables in mk.conf:
21
22         PKGSRC_COMPILER=gcc
23         CC=/full/path/to/gcc
24         CXX=/full/path/to/g++