summaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2013-02-22 13:59:47 +0000
committerobache <obache@pkgsrc.org>2013-02-22 13:59:47 +0000
commit02d5ed29d9540099407fdd4e6f7c11763c1ed8d3 (patch)
tree05d2a4fdb9ea5ad1cb357d7482593553eaf06058 /bootstrap
parent103169f7b980fc0762fb699106b2762ed1ff5203 (diff)
downloadpkgsrc-02d5ed29d9540099407fdd4e6f7c11763c1ed8d3.tar.gz
Add hints for bootstrap pkgsrc on Cygwin.
Diffstat (limited to 'bootstrap')
-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".