View previous topic :: View next topic |
Author |
Message |
ZappingLinux Tux's lil' helper
Joined: 13 Oct 2017 Posts: 117 Location: Delft, Netherlands
|
Posted: Mon Nov 20, 2017 9:06 am Post subject: Gcc 6.4 [SOLVED NO COFFEE NO BRAIN] |
|
|
So I noticed that gcc 6.4 is now in stable. This is great for me because that means I can finally use some compile flags for my assembly programs that weren't available before. However, when I run
Code: |
sudo emerge --ask sys-devel/gcc
* IMPORTANT: 3 news items need reading for repository 'gentoo'.
* Use eselect news read to view new items.
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild R ] sys-devel/gcc-5.4.0-r3
Would you like to merge these packages? [Yes/No] no
Quitting.
|
This says version 5.4 is the available one. So obviously I am missing something here. Anybody know what?
Of course, I might just interpret this page wrong https://packages.gentoo.org/packages/sys-devel/gcc in which case I dont quite understand it
Last edited by ZappingLinux on Mon Nov 20, 2017 10:28 am; edited 3 times in total |
|
Back to top |
|
|
asturm Developer
Joined: 05 Apr 2007 Posts: 8936
|
Posted: Mon Nov 20, 2017 9:24 am Post subject: |
|
|
1.: Read your news items
2.: When did you last emerge --sync?
3.: amd64, x86, ppc and ppc64 are stable
Last edited by asturm on Mon Nov 20, 2017 9:45 am; edited 1 time in total |
|
Back to top |
|
|
ZappingLinux Tux's lil' helper
Joined: 13 Oct 2017 Posts: 117 Location: Delft, Netherlands
|
Posted: Mon Nov 20, 2017 9:27 am Post subject: |
|
|
asturm wrote: |
2.: When did you last emerge --sync?
|
whoops..... I really need to get some coffee and properly wake up. But that didn't do it for me. Running emerge --ask sys-devel/gcc still returns 5.4. The news items also dont say anything particularly important. |
|
Back to top |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21631
|
Posted: Tue Nov 21, 2017 3:14 am Post subject: |
|
|
As a general bit of advice, if Portage doesn't pick the package version you want, you should tell it what you want. In this case, emerge --pretend --verbose =sys-devel/gcc-6\* would either do what you want or, more likely, fail out with an error explaining why Portage refuses to pick gcc-6. You can then use that error to understand why the unqualified name did not pick the version you wanted. |
|
Back to top |
|
|
|