From: Gurusamy Sarathy Date: Wed, 28 Oct 1998 21:46:19 +0000 (+0000) Subject: add explicit references to perl source path in ld2 and gcc2 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=5a7d176ddfe3850724e86702975cfe5594324cfc;p=p5sagit%2Fp5-mst-13.2.git add explicit references to perl source path in ld2 and gcc2 p4raw-id: //depot/perl@2115 --- diff --git a/README.cygwin32 b/README.cygwin32 index d7950f6..3b89e52 100644 --- a/README.cygwin32 +++ b/README.cygwin32 @@ -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 diff --git a/cygwin32/gcc2 b/cygwin32/gcc2 index 3da705c..6751348 100644 --- a/cygwin32/gcc2 +++ b/cygwin32/gcc2 @@ -6,7 +6,9 @@ # jc 3/24/97 # +PERLPATH=/perl5.005 + case "$*" in -*-buildperl*) miniperl perlgcc "$@" ;; +*-buildperl*) $PERLPATH/miniperl perlgcc "$@" ;; *) gcc "$@" ;; esac diff --git a/cygwin32/ld2 b/cygwin32/ld2 index cdec9d9..0bc98bd 100644 --- a/cygwin32/ld2 +++ b/cygwin32/ld2 @@ -6,4 +6,4 @@ PERLPATH=/perl5.005 -$PERLPATH/perl $PERLPATH/perlld "$@" +$PERLPATH/perl $PERLPATH/perlld -L$PERLPATH "$@"