home *** CD-ROM | disk | FTP | other *** search
/ Chip 2000 May / Chip_2000-05_cd1.bin / zkuste / Perl / ActivePerl-5.6.0.613.msi / 䆊䌷䈹䈙䏵-䞅䞆䞀㡆䞃䄦䠥 / _2c6cccbdcb00818bfb623413f1cb63a2 < prev    next >
Text File  |  2000-03-15  |  307b  |  13 lines

  1. use Config;
  2.  
  3. $libdir = $ENV{PERL_SRC} || "$Config{installarchlib}/CORE";
  4.  
  5. if (!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";
  11. print "$cccmd\n";
  12. exec $cccmd;
  13.