For discussions about programming and projects not necessarily associated with Porteus.
-
supertabs
- Black ninja

- Posts: 62
- Joined: 07 Jun 2021, 08:33
- Distribution: porteus-4.0-x86_64
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

, 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?

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.

supertabs
-
supertabs
- Black ninja

- Posts: 62
- Joined: 07 Jun 2021, 08:33
- Distribution: porteus-4.0-x86_64
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.

supertabs
-
supertabs
- Black ninja

- Posts: 62
- Joined: 07 Jun 2021, 08:33
- Distribution: porteus-4.0-x86_64
Post#5
by supertabs » 30 Jun 2021, 02:55
Oh

, thanks again

.I actually compiled my own gcc compilers, and I am afraid it may not work because of the missing headers

.
Those who win the race are those who are slow and steady.

supertabs
-
supertabs
- Black ninja

- Posts: 62
- Joined: 07 Jun 2021, 08:33
- Distribution: porteus-4.0-x86_64
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.

supertabs