[Solved] How to update gcc and g++ headers?

For discussions about programming and projects not necessarily associated with Porteus.
supertabs
Black ninja
Black ninja
Posts: 42
Joined: 07 Jun 2021, 08:33
Distribution: porteus-4.0-x86_64

[Solved] How to update gcc and g++ headers?

Post#1 by supertabs » 29 Jun 2021, 11:56

Hello everyone. I just want to ask how do you update gcc and g++ headers?

I successfully compiled gcc 10 and g++ 10 :thumbsup: , but I found out that it just copied my c++ header files from gcc 7.3.0 and g++ 7.3.0 :hammer: . Where can I get the gcc 10 and g++ 10 header files? :Search:
Last edited by supertabs on 17 Jul 2021, 07:44, edited 1 time in total.
Those who win the race are those who are slow and steady. :happy62:

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 3924
Joined: 20 Mar 2012, 03:42
Distribution: v5.0-64bit
Location: australia
Contact:

How to update gcc and g++ headers!

Post#2 by ncmprhnsbl » 29 Jun 2021, 13:20

you'll find slackware packages for gcc 10 here:
https://mirrors.slackware.com/slackware ... kware64/d/
headers are included in the packages.
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

supertabs
Black ninja
Black ninja
Posts: 42
Joined: 07 Jun 2021, 08:33
Distribution: porteus-4.0-x86_64

How to update gcc and g++ headers!

Post#3 by supertabs » 29 Jun 2021, 15:43

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?
Those who win the race are those who are slow and steady. :happy62:

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 3924
Joined: 20 Mar 2012, 03:42
Distribution: v5.0-64bit
Location: australia
Contact:

How to update gcc and g++ headers!

Post#4 by ncmprhnsbl » 29 Jun 2021, 22:49

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
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

supertabs
Black ninja
Black ninja
Posts: 42
Joined: 07 Jun 2021, 08:33
Distribution: porteus-4.0-x86_64

How to update gcc and g++ headers!

Post#5 by supertabs » 30 Jun 2021, 02:55

Oh :worthy: , thanks again :D .I actually compiled my own gcc compilers, and I am afraid it may not work because of the missing headers :D :D .
Those who win the race are those who are slow and steady. :happy62:

supertabs
Black ninja
Black ninja
Posts: 42
Joined: 07 Jun 2021, 08:33
Distribution: porteus-4.0-x86_64

How to update gcc and g++ headers!

Post#6 by supertabs » 17 Jul 2021, 07:43

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
Those who win the race are those who are slow and steady. :happy62:

Post Reply