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
CommitLineData
5aabfad6
PP
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
5a7d176d
GS
9PERLPATH=/perl5.005
10
5aabfad6 11case "$*" in
5a7d176d 12*-buildperl*) $PERLPATH/miniperl perlgcc "$@" ;;
5aabfad6
PP
13*) gcc "$@" ;;
14esac