From: Gerrit P. Haase Date: Wed, 27 Feb 2002 22:25:41 +0000 (+0100) Subject: Some minor changes for Cygwin X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=a0457be16b8088455208a5b5ab035da17cb9f707;p=p5sagit%2Fp5-mst-13.2.git Some minor changes for Cygwin From: "Gerrit P. Haase" Message-ID: <14296492589.20020227222541@familiehaase.de> p4raw-id: //depot/perl@14901 --- diff --git a/Makefile.SH b/Makefile.SH index 804a970..58567bb 100644 --- a/Makefile.SH +++ b/Makefile.SH @@ -890,7 +890,7 @@ _mopup: -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. diff --git a/README.cygwin b/README.cygwin index a8289a1..796197a 100644 --- a/README.cygwin +++ b/README.cygwin @@ -31,7 +31,7 @@ about this project can be found at: 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 @@ The MD5 port was done by Andy Piper: =item * C<-lgdbm> (C) -GDBM is available for Cygwin. GDBM's ndbm/dbm compatibility feature -also makes C and C 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) @@ -205,13 +201,18 @@ These are B yet available with Cygwin. =item * C<-Dusethreads> -POSIX threads are B yet implemented in Cygwin. +POSIX threads are B 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 document. + =back =head2 Suspicious Warnings on Cygwin @@ -342,7 +343,7 @@ to portability, more information can be found in the Cygwin documentation. =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) or Universal Naming Codes (F). DOS device names (F, F, F, F, F, F) are invalid as base filenames. However, they @@ -401,7 +402,7 @@ access by native Win32 programs). This will install Perl, including I pages. - make install | tee log.make-install + make install 2>&1 | tee log.make-install NOTE: If C is redirected `C' will B prompt you to install I into F. @@ -494,21 +495,11 @@ be kept as clean as possible. When I starts, it warns about overriding commands for F. -`C' does not remove library F<.def> or F<.exe.stackdump> -files. - -The I script contains references to the source directory. You should -change these to $installbin after `C'. - 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' is used to export -global symbols. It might be better to generate an explicit F<.def> file -(see F). Also, DLLs can now be build with `C'. - =head1 AUTHORS Charles Wilson , @@ -516,8 +507,9 @@ Eric Fifer , alexander smishlajev , Steven Morlock , Sebastien Barre , -Teun Burgers . +Teun Burgers , +Gerrit Haase . =head1 HISTORY -Last updated: 9 November 2000 +Last updated: 2002-02-27 diff --git a/cygwin/perlld.in b/cygwin/perlld.in index 90a21bb..513edf4 100644 --- a/cygwin/perlld.in +++ b/cygwin/perlld.in @@ -62,7 +62,7 @@ if ($args !~ /\-o (\S+)/) { $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");