This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
add explicit references to perl source path in ld2 and gcc2
authorGurusamy Sarathy <gsar@cpan.org>
Wed, 28 Oct 1998 21:46:19 +0000 (21:46 +0000)
committerGurusamy Sarathy <gsar@cpan.org>
Wed, 28 Oct 1998 21:46:19 +0000 (21:46 +0000)
p4raw-id: //depot/perl@2115

README.cygwin32
cygwin32/gcc2
cygwin32/ld2

index d7950f6..3b89e52 100644 (file)
@@ -6,11 +6,11 @@ project and the Cygwin32 API.
 1)  Copy the contents of the cygwin32 directory to the Perl source
     root directory.
 
-2)  Modify the ld2 script by making the PERLPATH variable contain the
-    Perl source root directory.  For example, if you extracted perl to
-    "/perl5.004", change the script so it contains the line:
+2)  Modify the ld2 and gcc2 scripts by making the PERLPATH variable contain
+    the Perl source root directory.  For example, if you extracted perl to
+    "/perl5.005", change the scripts so they contain the line:
 
-       PERLPATH=/perl5.004
+       PERLPATH=/perl5.005
 
 3)  Copy the two scripts ld2 and gcc2 from the cygwin32 subdirectory to a
     directory in your PATH environment variable.  For example, copy to
index 3da705c..6751348 100644 (file)
@@ -6,7 +6,9 @@
 #  jc 3/24/97
 #
 
+PERLPATH=/perl5.005
+
 case "$*" in
-*-buildperl*)  miniperl perlgcc "$@" ;;
+*-buildperl*)  $PERLPATH/miniperl perlgcc "$@" ;;
 *)             gcc "$@" ;;
 esac
index cdec9d9..0bc98bd 100644 (file)
@@ -6,4 +6,4 @@
 
 PERLPATH=/perl5.005
 
-$PERLPATH/perl $PERLPATH/perlld "$@"
+$PERLPATH/perl $PERLPATH/perlld -L$PERLPATH "$@"