mcury
Posts: 28
Joined: Fri Jun 28, 2019 11:59 am

help to build gcc 11.1.0+ from source

Sat Sep 23, 2023 5:51 pm

System: Raspberry PI4 4GB @ Ubuntu 20.04.6 LTS 64 bits-> System up to date

If it is possible, can someone point me in the right direction to build gcc 11.1.0+ from source ?
This would be my first time building a package, so I'm lost right now.

Thanks.

NotRequired
Posts: 412
Joined: Sat Apr 29, 2017 10:36 am
Location: Denmark

Re: help to build gcc 11.1.0+ from source

Sat Sep 23, 2023 6:11 pm

Look at the official guide.
Glowing in the dark!

mcury
Posts: 28
Joined: Fri Jun 28, 2019 11:59 am

Re: help to build gcc 11.1.0+ from source

Sat Sep 23, 2023 6:30 pm

NotRequired wrote:
Sat Sep 23, 2023 6:11 pm
Look at the official guide.
Thank you very much!!

ejolson
Posts: 11775
Joined: Tue Mar 18, 2014 11:47 am

Re: help to build gcc 11.1.0+ from source

Sat Sep 23, 2023 6:41 pm

mcury wrote:
Sat Sep 23, 2023 6:30 pm
NotRequired wrote:
Sat Sep 23, 2023 6:11 pm
Look at the official guide.
Thank you very much!!
There is a post here

viewtopic.php?p=1948417#p1948417

about how long it takes to build GCC on various models of Raspberry Pi. The speed depends on whether you also build Fortran, Go or others.

Note that it's worth looking at the build script earlier in that thread to see what options are chosen for the different models of Pi.

mcury
Posts: 28
Joined: Fri Jun 28, 2019 11:59 am

Re: help to build gcc 11.1.0+ from source

Sun Sep 24, 2023 2:55 pm

ejolson wrote:
Sat Sep 23, 2023 6:41 pm
mcury wrote:
Sat Sep 23, 2023 6:30 pm
NotRequired wrote:
Sat Sep 23, 2023 6:11 pm
Look at the official guide.
Thank you very much!!
There is a post here

viewtopic.php?p=1948417#p1948417

about how long it takes to build GCC on various models of Raspberry Pi. The speed depends on whether you also build Fortran, Go or others.

Note that it's worth looking at the build script earlier in that thread to see what options are chosen for the different models of Pi.
Hey, this worked perfectly. It took a few hours only.

Thank you :)

Return to “Ubuntu”