summaryrefslogtreecommitdiff
path: root/hints/cygwin.sh
diff options
context:
space:
mode:
Diffstat (limited to 'hints/cygwin.sh')
-rw-r--r--hints/cygwin.sh34
1 files changed, 34 insertions, 0 deletions
diff --git a/hints/cygwin.sh b/hints/cygwin.sh
new file mode 100644
index 0000000000..e6d466bfda
--- /dev/null
+++ b/hints/cygwin.sh
@@ -0,0 +1,34 @@
+#! /bin/sh
+# cygwin.sh - hints for building perl using the Cygwin environment for Win32
+#
+
+_exe='.exe'
+exe_ext='.exe'
+# work around case-insensitive file names
+firstmakefile='GNUmakefile'
+sharpbang='#!'
+startsh='#!/bin/sh'
+
+archname='cygwin'
+cc='gcc'
+libpth='/usr/i586-cygwin32/lib /usr/lib /usr/local/lib'
+so='dll'
+libs='-lcygwin -lm -lkernel32'
+#optimize='-g'
+ccflags='-DCYGWIN -I/usr/include -I/usr/local/include'
+ldflags='-L/usr/i586-cygwin32/lib -L/usr/lib -L/usr/local/lib'
+usemymalloc='n'
+dlsrc='dl_cygwin.xs'
+cccdlflags=' '
+ld='ld2'
+lddlflags='-L/usr/local/lib'
+useshrplib='true'
+libperl='libperl.a'
+dlext='dll'
+
+man1dir=/usr/local/man/man1
+man3dir=/usr/local/man/man3
+
+case "$ldlibpthname" in
+'') ldlibpthname=PATH ;;
+esac