Fri Dec 18 11:12:46 2009: Request 52888 was acted upon. Transaction: Correspondence added by ikeg...@adaelis.com Queue: Alien-wxWidgets Subject: Re: [rt.cpan.org #52888] Using cl as the linker when using MS compiler Broken in: 0.47 Severity: (no value) Owner: Nobody Requestors: ikeg...@cpan.org Status: open Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=52888 >
On Fri, Dec 18, 2009 at 9:50 AM, Mattia Barbon via RT < bug-alien-wxwidg...@rt.cpan.org> wrote: > <URL: https://rt.cpan.org/Ticket/Display.html?id=52888 > > > On Fri Dec 18 02:20:56 2009, ikegami wrote: > > 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? > > Because %Config has the options for a C compiler/linker, I need to > check for a C++ compiler. > ExtUtils::CBuilder reads %Config. Anything you pass to ExtUtils::CBuilder->new(config => {...}) *overrides* %Config, making it fail when suing MS's compilers. If your intent is for ExtUtils::CBuilder to use $Config{cc} and $Config{ld}, just use ExtUtils::CBuilder->new(silent => 1). If that's not your intention, I did not understand when you said.