--- perlwin32/win32/config.gc.orig 2005-01-03 12:44:00.261040000 -0800 +++ perlwin32/win32/config.gc 2005-01-03 12:58:26.436539200 -0800 @@ -41,12 +41,12 @@ byteorder='1234' c='' castflags='0' cat='type' -cc='~CC~' +cc='~cc~' cccdlflags=' ' ccdlflags=' ' ccflags='-MD -DWIN32' ccflags_uselargefiles='' -ccname='~CC~' +ccname='~cc~' ccsymbols='' ccversion='' cf_by='nobody' @@ -62,14 +62,14 @@ compress='' contains='grep' cp='copy' cpio='' -cpp='gcc -E' +cpp='~cc~ -E' cpp_stuff='42' cppccsymbols='' cppflags='-DWIN32' cpplast='' cppminus='-' -cpprun='gcc -E' -cppstdin='gcc -E' +cpprun='~cc~ -E' +cppstdin='~cc~ -E' cppsymbols='' crypt_r_proto='0' cryptlib='' @@ -672,7 +672,7 @@ ivsize='4' ivtype='long' known_extensions='~static_ext~ ~dynamic_ext~ ~nonxs_ext~' ksh='' -ld='gcc' +ld='~cc~' lddlflags='-mdll ~LINK_FLAGS~' ldflags='~LINK_FLAGS~' ldflags_uselargefiles='' --- perlwin32/ext/Errno/Errno_pm.PL.orig 2004-12-01 06:11:10.000000000 -0800 +++ perlwin32/ext/Errno/Errno_pm.PL 2005-01-03 14:38:44.269758400 -0800 @@ -20,6 +20,12 @@ unlink "errno.c" if -f "errno.c"; sub process_file { my($file) = @_; + # for win32 perl under cygwin, we need to get a windows pathname + if ($^O eq 'MSWin32' && $Config{cc} =~ /\B-mno-cygwin\b/ && + defined($file) && !-f $file) { + chomp($file = `cygpath -w "$file"`); + } + return unless defined $file and -f $file; # warn "Processing $file\n";