Put back the cygwin32 Configure fix of 3582 undone by 3597.
[p5sagit/p5-mst-13.2.git] / cygwin32 / build-instructions.sebastien-barre
1 This document is obsolete. Refer to README.cygwin32.
2
3 perl5.005_03-static-patch implements all of the 
4 suggestions below. Results in a static build, 93.85%
5 successful test on NT. 
6
7
8 **********************************
9 Subject: Re: Compiling Perl under b20.1
10    Date: Fri, 05 Mar 1999 16:41:52 +0100
11    From: Sebastien Barre <Sebastien.Barre@utc.fr>
12      To: Allan Peda <allan@interport.net>
13      CC: Cygwin Mailing List <cygwin@sourceware.cygnus.com>
14   
15 At 22:04 04/03/99 -0500, Allan Peda wrote:
16
17 >Has there been much success with this?  I've done it with MSVC + nmake,
18 >but I'd get more of a thrill using cygwin.
19
20 I did (5.005_002  static build, 91.4% successfull test).
21
22 As many people from this list helped me, I'd glad to offer the same. 
23
24 Basically, 
25
26 *) Read the README.cywin32
27
28 *) Edit the hints/cygwin32.sh file to reflect your paths.
29
30 Here are also a couple of settings I found useful when performing 
31 automatic
32 build (copy hints/cygwin32.sh to config.sh, and do sh Configure -d)
33
34 usedl='n'
35 i_stdarg='define'
36 i_varargs='undef'
37 osname='cygwin_nt-4.0'
38 osvers='20.1'
39 archname='cygwin32'
40 signal_t='int'
41 d_voidsig='define'
42 i_sysselct='undef'
43 signal_t='void'
44
45 *) Browse Usenet archives (DejaNews), and find  "HOWTO: Builiding Perl
46 under Win95/98 using Cygwin32 " 
47 Steven Morlock <newspost@morlock.net>
48 1998/12/21
49 comp.lang.perl.misc
50
51 *) Then apply this patch (Thanks to Todd Goodman)
52
53 This is my change in Cwd.pm:
54 --- cwd.pm      Fri Feb 26 21:52:42 1999
55 +++ cwd.pm.orig Fri Jan 22 20:49:54 1999
56 @@ -208,8 +208,6 @@
57      my $start = @_ ? shift : '.';
58      my($dotdots, $cwd, @pst, @cst, $dir, @tst);
59  
60 -    return cwd() if ( $^O =~ /cygwin/ );
61 -
62      unless (@cst = stat( $start ))
63      {
64
65 And tell me (email) if it fails.
66
67 ______________________________________________________________
68 Sebastien Barre                  http://www.hds.utc.fr/~barre/
69
70 --
71 Want to unsubscribe from this list?
72 Send a message to cygwin-unsubscribe@sourceware.cygnus.com
73
74