case "$ldlibpthname" in
'') ldlibpthname=PATH ;;
esac
+archobjs='cygwin.o'
# mandatory (overrides incorrect defaults)
test -z "$cc" && cc='gcc'
plibpth=`cd $plibpth && pwd`
fi
so='dll'
-# - eliminate -lc, implied by gcc
+# - eliminate -lc, implied by gcc and a symlink to libcygwin.a
libswanted=`echo " $libswanted " | sed -e 's/ c / /g'`
-libswanted="$libswanted cygipc cygwin kernel32"
-ccflags="$ccflags -DCYGWIN"
+# - eliminate -lm, symlink to libcygwin.a
+libswanted=`echo " $libswanted " | sed -e 's/ m / /g'`
+test -z "$optimize" && optimize='-O2'
+ccflags="$ccflags -DPERL_USE_SAFE_PUTENV"
# - otherwise i686-cygwin
archname='cygwin'
# dynamic loading
-ld='ld2'
# - otherwise -fpic
cccdlflags=' '
+ld='ld2'
-# optional(ish)
-# - perl malloc needs to be unpolluted
-bincompat5005='undef'
+# Win9x problem with non-blocking read from a closed pipe
+d_eofnblk='define'
# strip exe's and dll's
#ldflags="$ldflags -s"