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

[perl #134189] configure: ubuntu without gcc

Thread Previous | Thread Next
From:
Hugo van der Sanden via RT
Date:
June 13, 2019 10:53
Subject:
[perl #134189] configure: ubuntu without gcc
Message ID:
rt-4.0.24-2342-1560423190-1104.134189-15-0@perl.org
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.

Hugo

---
via perlbug:  queue: perl5 status: open
https://rt.perl.org/Ticket/Display.html?id=134189

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