So far it's been running for about 4 hours. One thing to note is that I did not have the prerequisites and had to download them though contrib/download_prerequisites. Not sure if it adds to the compile time or not.

Machine specs listed below:

4 CPUs Intel(R) Xeon(R) CPU E5-2650 0 @ 2.00GHz

uname -a
Linux <name> 3.10.0-693.17.1.el7.x86_64 #1 SMP Thu Jan 25 13:49:55 PST 2018 x86_64 x86_64 x86_64 GNU/Linux

free -m
total        used        free      shared  buff/cache   available
Mem:          11854         676        1040           8       10137       
Swap:          5119           0        5119

closed as too broad by GAD3R, Jeff Schaller, LinuxSecurityFreak, Jan, thrig Feb 4 '18 at 17:29

Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • It depends on your CPU, disk, configured languages, configured targets, whether you’re building with LTO, whether you’re running the tests... – Stephen Kitt Feb 4 '18 at 15:38
  • Updated the question with the CPU info and some additional information about the prerequisites. – Ya. Feb 4 '18 at 16:19
  • Here are the exact steps I did 1) contrib/download_prerequisites 2) configure 3) make – Ya. Feb 4 '18 at 16:20
  • On my SPARC T3 with gmake -j it took a few hours. On my Powerbook G4 it took a couple days. Having to compile additional things (GMP, ISL, etc) will certainly add to the compile time, but how much is uncertain. If you think GCC is slow to build, you should try GHC – Fox Feb 4 '18 at 21:20
  • On my Acer E15 (Intel Core i3, 4 GB RAM) it took about 2.5 hours to build gcc (using make -j4) – Bagas Sanjaya Feb 5 '18 at 4:10

After about 4.5 hours it finished.

P.S. Not sure why this question deserved a negative rating. Hopefully it will still help some folks, should they find their compile time take excessively long.

  • 1
    Thanks for documenting this. It's very useful to have a reference! – alanning May 17 '18 at 23:48
  • You can accept your own answer as the solution to your question to pass the message that your query was answered :) – goncalotomas Nov 17 '18 at 16:30

Not the answer you're looking for? Browse other questions tagged or ask your own question.