2 # cygwin.sh - hints for building perl using the Cygwin environment for Win32
5 # not otherwise settable
7 firstmakefile='GNUmakefile'
8 case "$ldlibpthname" in
9 '') ldlibpthname=PATH ;;
12 # mandatory (overrides defaults)
13 test -z "$cc" && cc='gcc'
16 libpth=`gcc -print-file-name=libc.a`
17 libpth=`dirname $libpth`
18 libpth=`cd $libpth && pwd`
21 libs='-lcygwin -lm -lkernel32'
22 ccflags="$ccflags -DCYGWIN"
28 # - perl malloc needs to be unpolluted
30 # - build shared libperl.dll
34 # strip exe's and dll's
35 #ldflags="$ldflags -s"
36 #ccdlflags="$ccdlflags -s"
37 #lddlflags="$lddlflags -s"