develooper Front page | perl.perl5.porters | Postings from June 2019

Re: [perl #134189] configure: ubuntu without gcc

Thread Previous | Thread Next
From:
Tony Cook
Date:
June 13, 2019 11:02
Subject:
Re: [perl #134189] configure: ubuntu without gcc
Message ID:
20190613110209.keundxqy2mzvw74r@mars.tony.develop-help.com
On Thu, Jun 13, 2019 at 03:53:10AM -0700, Hugo van der Sanden via RT wrote:
> On Wed, 12 Jun 2019 21:10:30 -0700, tonyc wrote:
> > clang might not be called clang.
> > 
> > For example, I installed clang and no gcc on a clean Ubuntu and
> > /usr/bin/cc was an alias for clang, so a default Configure used "cc".
> > 
> > The attached tries to detect if $cc is clang or if clang is available
> > in PATH (and works-for-me).
> 
> The first stanza looks good to me, but for the second stanza I'm not sure it's safe to invoke some arbitrary program called clang in your path if you haven't requested it.

We do it for gcc.

Tony

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