Re: Fedora 32 System-Wide Change proposal: Use update-alternatives for /usr/bin/cc and /usr/bin/c++

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 12/21/2019 02:30 PM, Tomasz Kłoczko wrote:
> 
> 
> On Sat, 21 Dec 2019 at 00:37, Neal Gompa <ngompa13@xxxxxxxxx <mailto:ngompa13@xxxxxxxxx>> wrote:
> [..]
> 
>     I believe it's also used by the %cmake and %meson macros.
> 
> 
> Yep.
> Look on the output of the “rpm -E %cmake” and you will find that to switch to other C and C++ compilers all what you need to do is redefine %__cc and %__cxx macros,

I'm not seeing this, at least with the current rawhide build, but I
patched cmake to enable this in the latest mass rebuild that I'm doing.
I'll post numbers on how effective using __cc and __cxx are once it's
complete.

-Tom

> The same is with %configure and %meson,
> 
> In other words you can switch NOW from non-root account to other compiler without execution update-alternatives from root.
> 
> In other words this proposal is pointless.
> 
> kloczek
> -- 
> -- 
> Tomasz Kłoczko | Tel: 0774 1209067 | LinkedIn: *http://lnkd.in/FXPWxH*
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux