Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 25 lines (17 sloc) 0.606 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
$NetBSD: README.OSF1,v 1.3 2007/10/15 22:32:56 tnn Exp $

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

Bootstrapping pkgsrc
--------------------
To use the native compiler:

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

To use the GCC compiler kit from above:

# env CC=/usr/local/gcc4/bin/gcc CFLAGS=-O2 ./bootstrap --compiler gcc

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

PKGSRC_COMPILER=gcc
CC=/full/path/to/gcc
CXX=/full/path/to/g++
Something went wrong with that request. Please try again.