LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   compiling gcc 4.4.6....30minutes+ (https://www.linuxquestions.org/questions/linux-newbie-8/compiling-gcc-4-4-6-30minutes-903919/)

realbluntz 09-19-2011 07:13 PM

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.

flamelord 09-19-2011 10:48 PM

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.

knudfl 09-20-2011 01:38 AM

*

GCC is compiled multiple times against itself :

Total compile time : Often 2 - 3 hours.

realbluntz 09-20-2011 11:35 AM

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


All times are GMT -5. The time now is 07:31 PM.