in reply to Re^3: XS build error
in thread XS build error
and wondered whether that might be where the botch up occurs. With MinGW, $(LD) will be g++ (so that part fits with what we're seeing from the op), but I'm not sure what's contained in the other symbols and haven't checked. In any case, that code comes from a block that should only be entered if 'cl' is the compiler.push(@m, q{ $(LD) -out:$@ $(LDDLFLAGS) }.$ldfrom.q{ $(OTHERLDFLAGS) } .q{$(MYEXTLIB) $(PERL_ARCHIVE) $(LDLOADLIBS) -def:$(EXPORT_LIST) +});
had to be changed to:my $GCC = 1 if $Config{'cc'} =~ /^gcc/i;
I don't quite see how all this fits in with the op's problem (and probably never will without perl -V and the version of EU::MM), but it looks a bit supicious.my $GCC = $Config{'cc'} =~ /\bgcc/i ? 1 : 0;
|
|---|