Page 1 of 1
[Solved] How to update gcc and g++ headers?
Posted: 29 Jun 2021, 11:56
by supertabs
Hello everyone. I just want to ask how do you update gcc and g++ headers?
I successfully compiled gcc 10 and g++ 10
, but I found out that it just copied my c++ header files from gcc 7.3.0 and g++ 7.3.0
. Where can I get the gcc 10 and g++ 10 header files?
How to update gcc and g++ headers!
Posted: 29 Jun 2021, 13:20
by ncmprhnsbl
you'll find slackware packages for gcc 10 here:
https://mirrors.slackware.com/slackware ... kware64/d/
headers are included in the packages.
How to update gcc and g++ headers!
Posted: 29 Jun 2021, 15:43
by supertabs
Thanks ncmprhnsbl. I wonder if there is other way to obtain the headers, without getting it from the packages?
Just a question from my curiosity, Where did the headers that are bundled from slackware packages come from?
How to update gcc and g++ headers!
Posted: 29 Jun 2021, 22:49
by ncmprhnsbl
not something i've done
... i would think that they'd be generated in the build process..
maybe some clues :
https://mirrors.slackware.com/slackware ... rce/d/gcc/ (SlackBuild)
https://www.linuxfromscratch.org/lfs/vi ... 8/gcc.html
How to update gcc and g++ headers!
Posted: 30 Jun 2021, 02:55
by supertabs
Oh
, thanks again
.I actually compiled my own gcc compilers, and I am afraid it may not work because of the missing headers
.
How to update gcc and g++ headers!
Posted: 17 Jul 2021, 07:43
by supertabs
For those who are curious, the standard C headers comes with the gnu libc or musl, when you build either one of the two, and the standard C++ headers comes from the gnu c++ compiler, or other compilers that ship c++ headers