summaryrefslogtreecommitdiff
path: root/cygwin32/gcc2
blob: 6751348bd3438bc222765e459d1ee128dca1340e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh
#
# gcc wrapper for building dynamic lib version of perl
#  if -buildperl found on command line, then all args passed to
#     perlgcc, else pass all args to gcc.
#  jc 3/24/97
#

PERLPATH=/perl5.005

case "$*" in
*-buildperl*)	$PERLPATH/miniperl perlgcc "$@" ;;
*)		gcc "$@" ;;
esac