Change 14901 by jhi@alpha on 2002/02/27 21:14:22
Subject: [PATCH] Some minor changes for Cygwin
From: "Gerrit P. Haase" <[EMAIL PROTECTED]>
Date: Wed, 27 Feb 2002 22:25:41 +0100
Message-ID: <[EMAIL PROTECTED]>
Affected files ...
.... //depot/perl/Makefile.SH#231 edit
.... //depot/perl/README.cygwin#20 edit
.... //depot/perl/cygwin/perlld.in#3 edit
Differences ...
==== //depot/perl/Makefile.SH#231 (text) ====
Index: perl/Makefile.SH
--- perl/Makefile.SH.~1~ Wed Feb 27 14:30:05 2002
+++ perl/Makefile.SH Wed Feb 27 14:30:05 2002
@@ -890,7 +890,7 @@
-rm -f perl.third lib*.so.perl.third perl.3log t/perl.third t/perl.3log
-rm -f perl.pixie lib*.so.perl.pixie lib*.so.Addrs
-rm -f perl.Addrs perl.Counts t/perl.Addrs t/perl.Counts *perl.xok
- -rm -f perlld cygwin.c ld2 libperl*.def libperl*.dll cygperl*.dll
+ -rm -f perlld cygwin.c ld2 libperl*.def libperl*.dll cygperl*.dll
+*.exe.stackdump
rm -f perl$(EXE_EXT) suidperl$(EXE_EXT) miniperl$(EXE_EXT) $(LIBPERL)
libperl.* microperl
# Do not 'make _tidy' directly.
==== //depot/perl/README.cygwin#20 (text) ====
Index: perl/README.cygwin
--- perl/README.cygwin.~1~ Wed Feb 27 14:30:05 2002
+++ perl/README.cygwin Wed Feb 27 14:30:05 2002
@@ -31,7 +31,7 @@
A recent net or commercial release of Cygwin is required.
-At the time this document was last updated, Cygwin 1.3.6 was current.
+At the time this document was last updated, Cygwin 1.3.9 was current.
=head2 Cygwin Configuration
@@ -135,11 +135,7 @@
=item * C<-lgdbm> (C<use GDBM_File>)
-GDBM is available for Cygwin. GDBM's ndbm/dbm compatibility feature
-also makes C<NDBM_File> and C<ODBM_File> possible (although they add
-little extra value).
-
-NOTE: The ndbm/dbm emulations only completely work on NTFS partitions.
+GDBM is available for Cygwin.
=item * C<-ldb> (C<use DB_File>)
@@ -205,13 +201,18 @@
=item * C<-Dusethreads>
-POSIX threads are B<not> yet implemented in Cygwin.
+POSIX threads are B<not> yet implemented in Cygwin completely.
=item * C<-Duselargefiles>
Although Win32 supports large files, Cygwin currently uses 32-bit integers
for internal size and position calculations.
+=item * C<-Dmksymlinks>
+
+Use this to build perl outside of the source tree. This works with Cygwin.
+Details can be found in the F<INSTALL> document.
+
=back
=head2 Suspicious Warnings on Cygwin
@@ -342,7 +343,7 @@
=item * Pathnames
-Cygwin pathnames can be separated by forward (F</>) or backward (F<\>)
+Cygwin pathnames can be separated by forward (F</>) or backward (F<\\>)
slashes. They may also begin with drive letters (F<C:>) or Universal
Naming Codes (F<//UNC>). DOS device names (F<aux>, F<con>, F<prn>,
F<com*>, F<lpt?>, F<nul>) are invalid as base filenames. However, they
@@ -401,7 +402,7 @@
This will install Perl, including I<man> pages.
- make install | tee log.make-install
+ make install 2>&1 | tee log.make-install
NOTE: If C<STDERR> is redirected `C<make install>' will B<not> prompt
you to install I<perl> into F</usr/bin>.
@@ -494,21 +495,11 @@
When I<make> starts, it warns about overriding commands for F<perlmain.o>.
-`C<make clean>' does not remove library F<.def> or F<.exe.stackdump>
-files.
-
-The I<ld2> script contains references to the source directory. You should
-change these to $installbin after `C<make install>'.
-
Support for swapping real and effective user and group IDs is incomplete.
On WinNT Cygwin provides setuid(), seteuid(), setgid() and setegid().
However, additional Cygwin calls for manipulating WinNT access tokens
and security contexts are required.
-When building DLLs, `C<dllwrap --export-all-symbols>' is used to export
-global symbols. It might be better to generate an explicit F<.def> file
-(see F<makedef.pl>). Also, DLLs can now be build with `C<gcc -shared>'.
-
=head1 AUTHORS
Charles Wilson <[EMAIL PROTECTED]>,
@@ -516,8 +507,9 @@
alexander smishlajev <[EMAIL PROTECTED]>,
Steven Morlock <[EMAIL PROTECTED]>,
Sebastien Barre <[EMAIL PROTECTED]>,
-Teun Burgers <[EMAIL PROTECTED]>.
+Teun Burgers <[EMAIL PROTECTED]>,
+Gerrit Haase <[EMAIL PROTECTED]>.
=head1 HISTORY
-Last updated: 9 November 2000
+Last updated: 2002-02-27
==== //depot/perl/cygwin/perlld.in#3 (text) ====
Index: perl/cygwin/perlld.in
--- perl/cygwin/perlld.in.~1~ Wed Feb 27 14:30:05 2002
+++ perl/cygwin/perlld.in Wed Feb 27 14:30:05 2002
@@ -62,7 +62,7 @@
$command .=" -Wl,--output-exp=$libname$EXP_EXT" if $EXP_EXT;
$command .=" -Wl,--out-implib=$libname.dll$LIB_EXT" if $LIB_EXT;
$command .=" -Wl,--export-all-symbols" if $EXPORT_ALL;
- $command .=" -Wl,--enable-auto-import -Wl,--stack,67108864"; # always
+ $command .=" -Wl,--enable-auto-import -Wl,--stack,8388608"; # always
# other args are passed through
shellexec("$command \\\n$args\n");
End of Patch.