* [ISSUE] Switching C++ Compilers with xbps-alternatives
@ 2019-10-22 20:54 voidlinux-github
2019-10-22 21:19 ` voidlinux-github
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: voidlinux-github @ 2019-10-22 20:54 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1067 bytes --]
New issue by schmidh on void-packages repository
https://github.com/void-linux/void-packages/issues/15714
Description:
<!-- Don't request update of package. We have a script for that. https://alpha.de.repo.voidlinux.org/void-updates/void-updates.txt . However, a quality pull request may help. -->
### System
* c++ --version:
*c++ (GCC) 9.2.0*
*Copyright (C) 2019 Free Software Foundation, Inc.*
*This is free software; see the source for copying conditions. There is NO*
*warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.*
* gcc-9.2.0_1:
*clang-9.0.0_2*
### Expected behavior
I would love to set the default C++ compiler to clang++ using xbps-alternatives.
### Actual behavior
Trying to set alternative C++ compilers is not possible as there is no alternative group for c++.
/usr/bin/c++ is not a link and actually a regular file being part of the gcc package. There is an alternative group for cc. Many build tools like e.g. CMake use cc and c++ to compile source code.
### Steps to reproduce the behavior
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Switching C++ Compilers with xbps-alternatives
2019-10-22 20:54 [ISSUE] Switching C++ Compilers with xbps-alternatives voidlinux-github
@ 2019-10-22 21:19 ` voidlinux-github
2019-10-22 21:56 ` [ISSUE] [CLOSED] " voidlinux-github
2019-10-22 21:56 ` voidlinux-github
2 siblings, 0 replies; 4+ messages in thread
From: voidlinux-github @ 2019-10-22 21:19 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 430 bytes --]
New comment by jnbr on void-packages repository
https://github.com/void-linux/void-packages/issues/15714#issuecomment-545160554
Comment:
In retrospect, the cc alternative group created more problems then it solved.
I don't think we should repeat this for c++ (even though the impact might be smaller).
Most build systems use the `CXX` environment variable, which, in my opinion, makes more sense then changing `/usr/bin/c++`.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [ISSUE] [CLOSED] Switching C++ Compilers with xbps-alternatives
2019-10-22 20:54 [ISSUE] Switching C++ Compilers with xbps-alternatives voidlinux-github
2019-10-22 21:19 ` voidlinux-github
@ 2019-10-22 21:56 ` voidlinux-github
2019-10-22 21:56 ` voidlinux-github
2 siblings, 0 replies; 4+ messages in thread
From: voidlinux-github @ 2019-10-22 21:56 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1070 bytes --]
Closed issue by schmidh on void-packages repository
https://github.com/void-linux/void-packages/issues/15714
Description:
<!-- Don't request update of package. We have a script for that. https://alpha.de.repo.voidlinux.org/void-updates/void-updates.txt . However, a quality pull request may help. -->
### System
* c++ --version:
*c++ (GCC) 9.2.0*
*Copyright (C) 2019 Free Software Foundation, Inc.*
*This is free software; see the source for copying conditions. There is NO*
*warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.*
* gcc-9.2.0_1:
*clang-9.0.0_2*
### Expected behavior
I would love to set the default C++ compiler to clang++ using xbps-alternatives.
### Actual behavior
Trying to set alternative C++ compilers is not possible as there is no alternative group for c++.
/usr/bin/c++ is not a link and actually a regular file being part of the gcc package. There is an alternative group for cc. Many build tools like e.g. CMake use cc and c++ to compile source code.
### Steps to reproduce the behavior
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Switching C++ Compilers with xbps-alternatives
2019-10-22 20:54 [ISSUE] Switching C++ Compilers with xbps-alternatives voidlinux-github
2019-10-22 21:19 ` voidlinux-github
2019-10-22 21:56 ` [ISSUE] [CLOSED] " voidlinux-github
@ 2019-10-22 21:56 ` voidlinux-github
2 siblings, 0 replies; 4+ messages in thread
From: voidlinux-github @ 2019-10-22 21:56 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 169 bytes --]
New comment by schmidh on void-packages repository
https://github.com/void-linux/void-packages/issues/15714#issuecomment-545173513
Comment:
Thanks for your reply! Ok.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2019-10-22 21:56 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-22 20:54 [ISSUE] Switching C++ Compilers with xbps-alternatives voidlinux-github
2019-10-22 21:19 ` voidlinux-github
2019-10-22 21:56 ` [ISSUE] [CLOSED] " voidlinux-github
2019-10-22 21:56 ` voidlinux-github
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).