summaryrefslogtreecommitdiff
path: root/bootstrap/README.Cygwin
blob: a333b38aa80e6825bd2c1030bdd0da38fd920217 (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
$NetBSD: README.Cygwin,v 1.2 2016/07/03 15:16:47 sevan Exp $

Please read the general README file as well.

==========================================================================

pkgsrc supports both gcc (GNU Compiler Collection) and clang (C Language Family
Frontend for LLVM). gcc is the default.

To bootstrap using clang:

	env CC=clang ./bootstrap --compiler=clang

You need to install minimal base packages in `Base' category plus any of
compiler, gcc, gcc4, and/or clang. For gcc and gcc4, C and C++ compiler will be
installed by default, but you can install Fortran compiler additionally because
it will be required to use libtool. If it is not installed (or too old), Fortran
compiler will be installed with pkgsrc automatically.

==========================================================================

The su(1) command has been in Cygwin distribution, but it has never worked.
Unless you bootstrap pkgsrc with the --unprivileged option, workaround is:

  * Right click "Cygwin Terminal" in your Start Menu, then pick
    "Run as administrator".