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

[perl #134189] configure: ubuntu without gcc

Thread Previous | Thread Next
Hugo van der Sanden via RT
June 11, 2019 15:41
[perl #134189] configure: ubuntu without gcc
Message ID:
On Mon, 10 Jun 2019 14:06:38 -0700, ilmari wrote:
> As far as I can tell there's no
> Configure variable for this, but Configure has a comment that
> ccname=gcc for clang

Sadly that doesn't appear to be the case here: after removing gcc{,-7} again to test, $ccname is empty when I try that here. The concept works though: using instead
 +elif [ X"$cc" = Xclang ] ; then
 +    gcc=$cc
does give me a successful build.

I'm sure there are better ways to do this: we should at least allow for both 'clang' and '/usr/bin/clang'. I'd also be tempted to test this before '-x /usr/bin/gcc', on the assumption that if the invoker asked for clang we should try to use it.


via perlbug:  queue: perl5 status: open

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