From: Fifer, Eric Date: Tue, 15 Aug 2000 17:00:49 +0000 (+0100) Subject: cygwin port X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=5d1292657431672ec354f44dd6469904494402c4;p=p5sagit%2Fp5-mst-13.2.git cygwin port Message-ID: <779F20BCCE5AD31186A50008C75D9979171779@silldn_mail1.sanwaint.com> p4raw-id: //depot/perl@6638 --- diff --git a/README.cygwin b/README.cygwin index 886954c..9718bb5 100644 --- a/README.cygwin +++ b/README.cygwin @@ -205,7 +205,7 @@ These are B yet available with Cygwin. I supports long doubles (12 bytes). However, several additional long double math functions are necessary to use them within Perl -(I<{atan2,cos,exp,floor,fmod,frexp,log,modf,pow,sin,sqrt}l,strtold>). +(I<{atan2,cos,exp,floor,fmod,frexp,isnan,log,modf,pow,sin,sqrt}l,strtold>). These are B yet available with Cygwin. =item * C<-Dusethreads> @@ -267,7 +267,7 @@ The following error occurs because of the Cygwin C<#define> of C<_LONG_DOUBLE>: Guessing which symbols your C compiler and preprocessor define... - try.c:3847: parse error + try.c:: parse error This failure does not seem to cause any problems. @@ -501,10 +501,11 @@ be kept as clean as possible. =item Documentation INSTALL README.cygwin - Changes Changes5.005 Changes5.004 + Changes Changes5.005 Changes5.004 Changes5.6 AUTHORS MAINTAIN MANIFEST README.win32 - pod/perl.pod pod/perlfaq3.pod pod/perlhist.pod pod/perlmodlib.pod - pod/perlport.pod pod/perltoc.pod pod/perldelta.pod pod/perl5004delta.pod + pod/buildtoc.PL pod/perl.pod pod/perl5004delta.pod pod/perl56delta.pod + pod/perlfaq3.pod pod/perlhist.pod pod/perlmodlib.pod pod/perlport.pod + pod/perltoc.pod =item Build, Configure, Make, Install @@ -526,6 +527,7 @@ be kept as clean as possible. =item Tests t/io/tell.t - binmode + t/lib/b.t - ignore Cwd from os_extras t/lib/glob-basic.t - Win32 directory list access differs from read mode t/op/magic.t - $^X/symlink WORKAROUND, s/.exe// t/op/stat.t - no /dev, skip Win32 ftCreationTime quirk @@ -562,8 +564,8 @@ be kept as clean as possible. - canonpath, cflags, manifypods, perl_archive lib/File/Find.pm - on remote drives stat() always sets st_nlink to 1 lib/File/Spec/Unix.pm - preserve //unc + lib/File/Temp.pm - no directory sticky bit lib/perl5db.pl - use stdin not /dev/tty - utils/perlcc.PL - DynaLoader.a in compile, -DUSEIMPORTLIB utils/perldoc.PL - version comment =back @@ -594,4 +596,4 @@ Teun Burgers . =head1 HISTORY -Last updated: 10 August 2000 +Last updated: 15 August 2000 diff --git a/hints/cygwin.sh b/hints/cygwin.sh index 1fbe5a6..7be1735 100644 --- a/hints/cygwin.sh +++ b/hints/cygwin.sh @@ -19,9 +19,11 @@ then 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" +# - eliminate -lm, symlink to libcygwin.a +libswanted=`echo " $libswanted " | sed -e 's/ m / /g'` +libswanted="$libswanted cygipc" test -z "$optimize" && optimize='-O2' # - otherwise i686-cygwin archname='cygwin' diff --git a/pod/perlport.pod b/pod/perlport.pod index ee147e9..832f8db 100644 --- a/pod/perlport.pod +++ b/pod/perlport.pod @@ -681,7 +681,7 @@ The ActiveState Pages, http://www.activestate.com/ =item * The Cygwin environment for Win32; F (installed -as L), http://sourceware.cygnus.com/cygwin/ +as L), http://sources.redhat.com/cygwin/ =item * diff --git a/t/lib/b.t b/t/lib/b.t index b20e2bc..f562e15 100755 --- a/t/lib/b.t +++ b/t/lib/b.t @@ -142,6 +142,7 @@ else { $a = join ',', sort split /,/, $a; $a =~ s/-uWin32,// if $^O eq 'MSWin32'; $a =~ s/-u(Cwd|File|File::Copy|OS2),//g if $^O eq 'os2'; +$a =~ s/-uCwd,// if $^O eq 'cygwin'; if ($Config{static_ext} eq ' ') { $b = '-uCarp,-uCarp::Heavy,-uDB,-uExporter,-uExporter::Heavy,-uattributes,' . '-umain,-uwarnings';