summaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
authorobache <obache>2013-02-22 13:59:47 +0000
committerobache <obache>2013-02-22 13:59:47 +0000
commiteda42cdcce512b8199facab8216b5e65f877a28d (patch)
tree05d2a4fdb9ea5ad1cb357d7482593553eaf06058 /bootstrap
parent428ec8b74bb8a4be0be1b87bb8a5356eea3e82ba (diff)
downloadpkgsrc-eda42cdcce512b8199facab8216b5e65f877a28d.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".