1 The included patch, perl5.005_02.patch, implements all of the suggestions below. Results in a static build, 93.85% successful test on NT.
4 **********************************
5 Subject: Re: Compiling Perl under b20.1
6 Date: Fri, 05 Mar 1999 16:41:52 +0100
7 From: Sebastien Barre <Sebastien.Barre@utc.fr>
8 To: Allan Peda <allan@interport.net>
9 CC: Cygwin Mailing List <cygwin@sourceware.cygnus.com>
11 At 22:04 04/03/99 -0500, Allan Peda wrote:
13 >Has there been much success with this? I've done it with MSVC + nmake,
14 >but I'd get more of a thrill using cygwin.
16 I did (5.005_002 static build, 91.4% successfull test).
18 As many people from this list helped me, I'd glad to offer the same.
22 *) Read the README.cywin32
24 *) Edit the hints/cygwin32.sh file to reflect your paths.
26 Here are also a couple of settings I found useful when performing automatic
27 build (copy hints/cygwin32.sh to config.sh, and do sh Configure -d)
32 osname='cygwin_nt-4.0'
40 *) Browse Usenet archives (DejaNews), and find "HOWTO: Builiding Perl
41 under Win95/98 using Cygwin32 "
42 Steven Morlock <newspost@morlock.net>
46 *) Then apply this patch (Thanks to Todd Goodman)
48 This is my change in Cwd.pm:
49 --- cwd.pm Fri Feb 26 21:52:42 1999
50 +++ cwd.pm.orig Fri Jan 22 20:49:54 1999
52 my $start = @_ ? shift : '.';
53 my($dotdots, $cwd, @pst, @cst, $dir, @tst);
55 - return cwd() if ( $^O =~ /cygwin/ );
57 unless (@cst = stat( $start ))
60 And tell me (email) if it fails.
62 ______________________________________________________________
63 Sebastien Barre http://www.hds.utc.fr/~barre/
66 Want to unsubscribe from this list?
67 Send a message to cygwin-unsubscribe@sourceware.cygnus.com