LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-19-2011, 08:13 PM   #1
realbluntz
Member
 
Registered: Jun 2010
Location: the D
Distribution: arch x86_64
Posts: 57

Rep: Reputation: 3
compiling gcc 4.4.6....30minutes+


I have a program that cannot run with gcc 4.5 or above.
I am compiling gcc 4.4.6 on arch x86_64. I still have gcc 4.6 installed from repos.

./configure when well

But it is proabably a half hour into compiling with make. Is that normal?
T9550 @ 2.66Ghz
4GB RAM

...i think it's looping...?




*** Well that took about an hour... all set.

Last edited by realbluntz; 09-19-2011 at 09:25 PM.
 
Old 09-19-2011, 11:48 PM   #2
flamelord
Member
 
Registered: Jun 2011
Distribution: Arch Linux
Posts: 151

Rep: Reputation: 34
Yes, that is normal (at least in my experience). If you have multiple cores in your processor, you can use the -j option in make to run multiple jobs simultaneously, which might improve compile time.
 
Old 09-20-2011, 02:38 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156
*

GCC is compiled multiple times against itself :

Total compile time : Often 2 - 3 hours.

Last edited by knudfl; 09-20-2011 at 02:40 AM.
 
Old 09-20-2011, 12:35 PM   #4
realbluntz
Member
 
Registered: Jun 2010
Location: the D
Distribution: arch x86_64
Posts: 57

Original Poster
Rep: Reputation: 3
Compiling against itself gives me a better understanding of why it takes so long, thanks.

Is there anything beside the jobs option to increase performance? ....besides more Mhz?

thanks
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to selectively use GCC 3.4 -OR- GCC 4.1 in FC6 when compiling? rylan76 Fedora 2 11-22-2006 12:36 AM
Error compiling gcc 3.3.6 with 64bit gcc 4.0.3 cs-cam Linux - Software 0 04-22-2006 06:20 AM
Compiling gcc without any gcc installed my_kappa Linux - Software 5 01-30-2006 01:15 AM
Kernel compiling: gcc-3.3 is 586, should be gcc-3.3 386 Erik Plaggenmar Linux - Software 0 10-01-2004 12:38 PM
Various Compiling Errors (GCC compiling Openal, GUIlib, xmms-wma) gregorya Linux - Software 2 08-27-2004 06:03 AM


All times are GMT -5. The time now is 04:36 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration