Patch applying of #3499 had gone awry.
[p5sagit/p5-mst-13.2.git] / cygwin32 / build-instructions.sebastien-barre
CommitLineData
8736538c 1The included patch, perl5.005_02.patch, implements all of the suggestions below. Results in a static build, 93.85% successful test on NT.
2
3
4**********************************
5Subject: 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>
10
11At 22:04 04/03/99 -0500, Allan Peda wrote:
12
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.
15
16I did (5.005_002 static build, 91.4% successfull test).
17
18As many people from this list helped me, I'd glad to offer the same.
19
20Basically,
21
22*) Read the README.cywin32
23
24*) Edit the hints/cygwin32.sh file to reflect your paths.
25
26Here are also a couple of settings I found useful when performing automatic
27build (copy hints/cygwin32.sh to config.sh, and do sh Configure -d)
28
29usedl='n'
30i_stdarg='define'
31i_varargs='undef'
32osname='cygwin_nt-4.0'
33osvers='20.1'
34archname='cygwin32'
35signal_t='int'
36d_voidsig='define'
37i_sysselct='undef'
38signal_t='void'
39
40*) Browse Usenet archives (DejaNews), and find "HOWTO: Builiding Perl
41under Win95/98 using Cygwin32 "
42Steven Morlock <newspost@morlock.net>
431998/12/21
44comp.lang.perl.misc
45
46*) Then apply this patch (Thanks to Todd Goodman)
47
48This 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
51@@ -208,8 +208,6 @@
52 my $start = @_ ? shift : '.';
53 my($dotdots, $cwd, @pst, @cst, $dir, @tst);
54
55- return cwd() if ( $^O =~ /cygwin/ );
56-
57 unless (@cst = stat( $start ))
58 {
59
60And tell me (email) if it fails.
61
62______________________________________________________________
63Sebastien Barre http://www.hds.utc.fr/~barre/
64
65--
66Want to unsubscribe from this list?
67Send a message to cygwin-unsubscribe@sourceware.cygnus.com
68
69