summaryrefslogtreecommitdiff
path: root/cygwin32/gcc2
diff options
context:
space:
mode:
Diffstat (limited to 'cygwin32/gcc2')
-rw-r--r--cygwin32/gcc212
1 files changed, 12 insertions, 0 deletions
diff --git a/cygwin32/gcc2 b/cygwin32/gcc2
new file mode 100644
index 0000000000..3da705cdbf
--- /dev/null
+++ b/cygwin32/gcc2
@@ -0,0 +1,12 @@
+#!/bin/sh
+#
+# gcc wrapper for building dynamic lib version of perl
+# if -buildperl found on command line, then all args passed to
+# perlgcc, else pass all args to gcc.
+# jc 3/24/97
+#
+
+case "$*" in
+*-buildperl*) miniperl perlgcc "$@" ;;
+*) gcc "$@" ;;
+esac