summaryrefslogtreecommitdiff
path: root/bootstrap/README.Cygwin
diff options
context:
space:
mode:
authorobache <obache>2013-02-22 13:59:47 +0000
committerobache <obache>2013-02-22 13:59:47 +0000
commit636871e28d1dab312924417d830db89d947c1283 (patch)
tree05d2a4fdb9ea5ad1cb357d7482593553eaf06058 /bootstrap/README.Cygwin
parent1f72847cc2655d5cce089291d4d1956e28fad73b (diff)
downloadpkgsrc-636871e28d1dab312924417d830db89d947c1283.tar.gz
Add hints for bootstrap pkgsrc on Cygwin.
Diffstat (limited to 'bootstrap/README.Cygwin')
-rw-r--r--bootstrap/README.Cygwin20
1 files changed, 20 insertions, 0 deletions
diff --git a/bootstrap/README.Cygwin b/bootstrap/README.Cygwin
new file mode 100644
index 00000000000..751676e6144
--- /dev/null
+++ b/bootstrap/README.Cygwin
@@ -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".