develooper Front page | perl.perl5.porters | Postings from August 2008

Re: FYI - Blead changes to ExtUtils::CBuilder

Thread Previous | Thread Next
Ken Williams
August 31, 2008 18:53
Re: FYI - Blead changes to ExtUtils::CBuilder
Message ID:
On Sun, Aug 31, 2008 at 2:00 AM, Reini Urban <> wrote:
> cygwin has a good ld setting now (gcc or g++).
> Before it was ld2, a helper script. Which was stupid. Which you overwrote
> with gcc. But we want also g++ support for special C++ XS code. That's why
> we don't want to touch ld.

I see.  In that case, I'd rather not perform the ld=cc step at all in
the parent; it's confusing when two wrongs make a right.  Proposed
patch attached.

> Why cc?
> Because SUPER is, which has a special treatment for ld, which is also stupid. So
> we revert it. We should trust the and don't try to be smarter. If a ld setting is
> wrong, fix Configure, not CBuilder.

However, note that $Config{cc} and $Config{ld} don't pretend to be
general-purpose compiler & linker commands; they're specifically for
compiling & linking code for perl modules.  So I'm not sure it would
be correct to "fix Configure".


Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About