develooper Front page | perl.inline | Postings from February 2012

Re: Solaris v2.11 C++ compiler detection for Inline::CPP

Thread Previous | Thread Next
From:
Sisyphus
Date:
February 9, 2012 21:08
Subject:
Re: Solaris v2.11 C++ compiler detection for Inline::CPP
Message ID:
68176A4D98F0436CBF3E65162352929A@desktop2

----- Original Message ----- 
From: "David Oswald"

>  But if I remove that test and remove CC as an
> option I'll probably break some other Solaris install.

Yes - probably don't remove the test. (Presumably CC must be a sane 
fall-thru value under some circumstance or other.)

I'd be tempted to just change that:

    if ($Config{cc} eq 'gcc') {
to something like:
    if (($Config{cc} eq 'gcc') || $Config{gccversion}) {

but I'm not at all familiar with solaris.

Cheers,
Rob 


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About