Fri Dec 18 02:20:56 2009: Request 52888 was acted upon.
Transaction: Ticket created by ikegami
Queue: Alien-wxWidgets
Subject: Using cl as the linker when using MS compiler
Broken in: 0.47
Severity: (no value)
Owner: Nobody
Requestors: [email protected]
Status: new
Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=52888 >
In lib/Alien/wxWidgets/Utility.pm
my $b = ExtUtils::CBuilder->new( config => { cc => $cc, ld => $cc },
quiet => 1,
);
is wrong when using MS's tools. The linker is different than the
compiler. I worked around it by doing
my $b = ExtUtils::CBuilder->new( config => { cc => $cc, ld => $cc eq
'cl' ? 'link' : $cc },
quiet => 1,
);
But it still seems very wrong to me. Why do you specify a compiler and
linker, but take the compiler and linker options from Config.pm?