source: for-distributions/trunk/bin/windows/perl/lib/B/cc_harness@ 14489

Last change on this file since 14489 was 14489, checked in by oranfry, 17 years ago

upgrading to perl 5.8

File size: 295 bytes
Line 
1use Config;
2
3$libdir = $ENV{PERL_SRC} || "$Config{installarchlib}/CORE";
4
5if (!grep(/^-[cS]$/, @ARGV)) {
6 $linkargs = sprintf("%s $libdir/$Config{libperl} %s",
7 @Config{qw(ldflags libs)});
8}
9
10$cccmd = "$Config{cc} $Config{ccflags} -I$libdir @ARGV $linkargs";
11print "$cccmd\n";
12exec $cccmd;
Note: See TracBrowser for help on using the repository browser.