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

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

Thread Previous | Thread Next
Tony Cook
June 13, 2019 11:02
Re: [perl #134189] configure: ubuntu without gcc
Message ID:
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.


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