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
[perl5.git] / cygwin32 / gcc2
1 #!/bin/sh
2 #
3 # gcc wrapper for building dynamic lib version of perl
4 #  if -buildperl found on command line, then all args passed to
5 #     perlgcc, else pass all args to gcc.
6 #  jc 3/24/97
7 #
8
9 PERLPATH=/perl5.005
10
11 case "$*" in
12 *-buildperl*)   $PERLPATH/miniperl perlgcc "$@" ;;
13 *)              gcc "$@" ;;
14 esac