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 ;;
13 # mandatory (overrides incorrect defaults)
14 test -z "$cc" && cc='gcc'
17 plibpth=`gcc -print-file-name=libc.a`
18 plibpth=`dirname $plibpth`
19 plibpth=`cd $plibpth && pwd`
22 # - eliminate -lc, implied by gcc
23 libswanted=`echo " $libswanted " | sed -e 's/ c / /g'`
24 libswanted="$libswanted cygipc cygwin kernel32"
25 # - otherwise i686-cygwin
34 # - perl malloc needs to be unpolluted
37 # stubs (ENOSYS, not implemented)
42 # Win9x problem with non-blocking read from a closed pipe
45 # strip exe's and dll's
46 #ldflags="$ldflags -s"
47 #ccdlflags="$ccdlflags -s"
48 #lddlflags="$lddlflags -s"