<vkonovalov@lucent.com>)
p4raw-id: //depot/perl@5726
@$libs = grep { !(/DynaLoader\.a$/ && ($dynaloader = $_)) } @$libs
if($^O eq 'cygwin');
+ my $args = "@args";
+ if ($^O eq 'MSWin32' && $Config{cc} =~ /^bcc/i) {
+ # BC++ cmd line syntax does not allow space between -[oexz...] and arg
+ $args =~ s/(^|\s+)-([oe])\s+/$1-$2/g;
+ }
+
my $ccflags = $Config{ccflags};
$ccflags .= ' -DUSEIMPORTLIB' if $^O eq 'cygwin';
my $cccmd = "$Config{cc} $ccflags $optimize $incdir "
- ."@args $dynaloader $linkargs @$libs";
+ ."$args $dynaloader $linkargs @$libs";
_print ("$cccmd\n", 36);
_run("$cccmd", 18 );
d_crypt=$(D_CRYPT) ~ \
d_mymalloc=$(PERL_MALLOC) ~ \
libs=$(LIBFILES:f) ~ \
- incpath=$(CCINCDIR) ~ \
+ incpath=$(CCINCDIR:s/\/\\/) ~ \
libperl=$(PERLIMPLIB:f) ~ \
- libpth=$(CCLIBDIR);$(EXTRALIBDIRS) ~ \
+ libpth=$(CCLIBDIR:s/\/\\/);$(EXTRALIBDIRS:s/\/\\/) ~ \
libc=$(LIBC) ~ \
make=dmake ~ \
_o=$(o) obj_ext=$(o) ~ \