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 19. 12. 19 22:47, Neal Gompa wrote:
I don't know if I want *more* alternatives usage in Fedora. I like the
fact that a basic buildroot is generally supposed to work without
scriptlets... On the other hand, I think we're already using
alternatives for ld...

Aside from making it possible to swap the system compiler with
alternatives, what benefit do we get? Are there other, less script-y
approaches that we could use?

We could have a cc-is-gcc and cc-is-clang conflicting packages with /ur/bin/cc and:


 - require /usr/bin/cc from gcc and from clang
 - suggest cc-is-gcc from gcc
 - suggest cc-is-clang from clang

That gets rid of the scriplets, but creates a nontrivial resolving chaos. Also when installing gcc and clang at the same time, we would not be able to trivially give cc-is-gcc higher priority unless we maybe suggest it from fedora-release, but that's... meh.

We could mix in some recommends, but the current behavior would probably try to install it on every upgrade, so not sure if that works.

--
Miro Hrončok
--
Phone: +420777974800
IRC: mhroncok
_______________________________________________
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