-
Notifications
You must be signed in to change notification settings - Fork 160
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add hints for bootstrap pkgsrc on Cygwin.
- Loading branch information
obache
committed
Feb 22, 2013
1 parent
d8b9a69
commit f3791a6
Showing
1 changed file
with
20 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
$NetBSD: README.Cygwin,v 1.1 2013/02/22 13:59:47 obache 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 | ||
|
||
========================================================================== | ||
|
||
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". |