View previous topic :: View next topic |
Author |
Message |
pstickar n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 26 Nov 2006 Posts: 73 Location: Germany
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
NeddySeagoon Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/3946266373f47d606a2db3.jpg)
Joined: 05 Jul 2003 Posts: 54861 Location: 56N 3W
|
Posted: Wed Feb 12, 2025 8:06 pm Post subject: |
|
|
pstickar,
gcc:11 to gcc:14 are all stable in ::gentoo
emerge sys-devel/gcc:13 will install gcc in slot 13, which is what you want. Add --oneshot to avoid it being added to your world file.
Now use gcc-config to select gcc:13 _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
pstickar n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 26 Nov 2006 Posts: 73 Location: Germany
|
Posted: Thu Feb 13, 2025 7:09 am Post subject: |
|
|
Thank you, that worked.
I could not bring SYCL to work, though. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
logrusx Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/176594205966916859b5145.jpg)
Joined: 22 Feb 2018 Posts: 2726
|
Posted: Thu Feb 13, 2025 7:39 am Post subject: |
|
|
GCC 14 introduced stricter language standards and enabled them by default. There are switches to turn the old behavior on. Maybe if you start searching for the errors you would learn something in addition.
Otherwise nothing stops you from having multiple gcc versions installed next to each other. You just need to explicitly invoke the desired version. But don't change the system wide default version, I don't think that's a good idea.
Best Regards,
Georgi |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
sam_ Developer
![Developer Developer](/images/ranks/rank-dev.gif)
![](images/avatars/7738740495f7d1acc45bdb.jpg)
Joined: 14 Aug 2020 Posts: 2152
|
Posted: Thu Feb 13, 2025 11:45 am Post subject: |
|
|
Do consider starting a (new?) thread about your SYCL issues. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
GDH-gentoo Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/4552800915d460a483ae8d.jpg)
Joined: 20 Jul 2019 Posts: 1810 Location: South America
|
Posted: Thu Feb 13, 2025 12:43 pm Post subject: |
|
|
Why don't you show us (perhaps change the thread's title or start a new one?) the smallest example program that doesn't build and tell us how you are trying to build it, and how does it fail?
GCC can't accept SYCL programs directly, you need special tools to build them. Like Intel's oneAPI DPC++/C++ compiler from your link. Which might or might not call GCC behind the scenes; I'm not familiar with these tools. _________________
NeddySeagoon wrote: | I'm not a witch, I'm a retired electronics engineer ![Smile :)](images/smiles/icon_smile.gif) |
Ionen wrote: | As a packager I just don't want things to get messier with weird build systems and multiple toolchains requirements though ![Smile :)](images/smiles/icon_smile.gif) |
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
pstickar n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 26 Nov 2006 Posts: 73 Location: Germany
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|