summaryrefslogtreecommitdiff
path: root/cygwin32/build-instructions.steven-morlock2
diff options
context:
space:
mode:
authorFifer, Eric <EFifer@sanwaint.com>1999-06-02 16:16:05 +0100
committerGurusamy Sarathy <gsar@cpan.org>1999-07-05 05:17:12 +0000
commit1cab015a482fdf2a2c78aa5bae65199be3b5e3c8 (patch)
treee02b004521f99ac1666a83c1a55c3d9d5e780236 /cygwin32/build-instructions.steven-morlock2
parent16cebae21a82370677b73e4db793c726b3f4ff27 (diff)
downloadperl-1cab015a482fdf2a2c78aa5bae65199be3b5e3c8.tar.gz
cygwin32 update
Message-Id: <71E287AB0D94D111BBD600600849EC8185EDD9@POST> Subject: [ID 19990602.003] perl5.005_03 (CORE) cygwin32 port p4raw-id: //depot/perl@3582
Diffstat (limited to 'cygwin32/build-instructions.steven-morlock2')
-rw-r--r--cygwin32/build-instructions.steven-morlock223
1 files changed, 14 insertions, 9 deletions
diff --git a/cygwin32/build-instructions.steven-morlock2 b/cygwin32/build-instructions.steven-morlock2
index 0370b7053c..82ff387279 100644
--- a/cygwin32/build-instructions.steven-morlock2
+++ b/cygwin32/build-instructions.steven-morlock2
@@ -1,4 +1,8 @@
-This is an addendum to Steven Morlock's original post. The patch, perl5.005_02.patch, contains the USEMYBINMODE correction described below.
+This document is obsolete. Refer to README.cygwin32.
+
+This is an addendum to Steven Morlock's original post.
+perl5.005_03-static-patch, contains the USEMYBINMODE correction described
+below.
*****************************
Subject: Re: HOWTO: Builiding Perl under Win95/98 using Cygwin32
@@ -12,9 +16,9 @@ details. I'd like to correct that here.
There is a need to address the issue of end of lines being CR/NL or
NL on the Windows platform. Cygwin32 by default converts NL to CR/NL
during file I/O by non Cygwin32-savvy applications. This means that
-Perl, since it does not support 'binmode' for the Cygwin32 platform, will
-not be able to read & write untranslated/binary files. There are two
-methods of over coming this. The first is to mount the Cygwin32
+Perl, since it does not support 'binmode' for the Cygwin32 platform,
+will not be able to read & write untranslated/binary files. There are
+two methods of over coming this. The first is to mount the Cygwin32
partitions in binary mode. The second is to enable binmode support
in Perl. In the original post I had mounted the partition as binary
and neglected to include that fact in the post.
@@ -32,10 +36,10 @@ and neglected to include that fact in the post.
umount /
mount -b c:\\ /
- You must also get and install the gzip'd version of the Perl source code
- archive. The zip'd version of the archive has all NL converted to CR/NL
- pairs in all text files. So you should be downloading the files ending in
- '.gz', not '.zip'.
+ You must also get and install the gzip'd version of the Perl source
+ code archive. The zip'd version of the archive has all NL converted
+ to CR/NL pairs in all text files. So you should be downloading the
+ files ending in '.gz', not '.zip'.
* Patching Perl to add Cygwin32 binmode support:
@@ -60,7 +64,8 @@ and neglected to include that fact in the post.
+ */
+ #define USEMYBINMODE / **/
+ #define my_binmode(fp, iotype) \
-+ (PerlLIO_setmode(PerlIO_fileno(fp), O_BINARY) != -1 ? TRUE : NULL)
++ (PerlLIO_setmode(PerlIO_fileno(fp), O_BINARY) != -1 ?
+TRUE : NULL)
+ #endif
+
#include "regexp.h"