perl_run() should call my_exit(0) for normal completion
[p5sagit/p5-mst-13.2.git] / cygwin32 / build-instructions.sebastien-barre
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.
2
3
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>
10   
11 At 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
16 I did (5.005_002  static build, 91.4% successfull test).
17
18 As many people from this list helped me, I'd glad to offer the same. 
19
20 Basically, 
21
22 *) Read the README.cywin32
23
24 *) Edit the hints/cygwin32.sh file to reflect your paths.
25
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)
28
29 usedl='n'
30 i_stdarg='define'
31 i_varargs='undef'
32 osname='cygwin_nt-4.0'
33 osvers='20.1'
34 archname='cygwin32'
35 signal_t='int'
36 d_voidsig='define'
37 i_sysselct='undef'
38 signal_t='void'
39
40 *) Browse Usenet archives (DejaNews), and find  "HOWTO: Builiding Perl
41 under Win95/98 using Cygwin32 " 
42 Steven Morlock <newspost@morlock.net>
43 1998/12/21
44 comp.lang.perl.misc
45
46 *) Then apply this patch (Thanks to Todd Goodman)
47
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
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
60 And tell me (email) if it fails.
61
62 ______________________________________________________________
63 Sebastien Barre                  http://www.hds.utc.fr/~barre/
64
65 --
66 Want to unsubscribe from this list?
67 Send a message to cygwin-unsubscribe@sourceware.cygnus.com
68
69