diff options
-rw-r--r-- | README.cygwin32 | 8 | ||||
-rw-r--r-- | cygwin32/gcc2 | 4 | ||||
-rw-r--r-- | cygwin32/ld2 | 2 |
3 files changed, 8 insertions, 6 deletions
diff --git a/README.cygwin32 b/README.cygwin32 index d7950f63d4..3b89e52d46 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 3da705cdbf..6751348bd3 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 cdec9d96ef..0bc98bd36e 100644 --- a/cygwin32/ld2 +++ b/cygwin32/ld2 @@ -6,4 +6,4 @@ PERLPATH=/perl5.005 -$PERLPATH/perl $PERLPATH/perlld "$@" +$PERLPATH/perl $PERLPATH/perlld -L$PERLPATH "$@" |