Re: gcc 4.8.2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/16/13 17:46, Plamen Peshev wrote:
I start compile gcc 4.8.2 in 21:00 h. " 9 pm " and now it is 01:41 "
01:41 am " it is compiling 4 h. and 41 minutes. I'm on macbook 1.1
with 2 gb ram and 1.83 ghz. And it start to compile very slow. And
this shit is only in make, then it's need to make install.
Building GCC is a complex process that involves building the compiler multiple times as a sanity check on its correctness.

The stage1 compiler is built by the system compiler. The stage1 compiler is then used to build the stage2 compiler. The stage2 compiler is then used to build the stage3 compiler. The stage2 and stage3 compilers are then compared -- any differences are an indication that GCC was mis-compiled. This could be a bug in GCC itself, or a bug in the stage1 compiler.

Additionally, you're building multiple languages. Assuming the defaults, you'll be building C, C++, Objective-C, Fortran, Java and associated runtimes for those languages.

And, believe it or not, each of the runtimes may need to be built twice for 32bit and 64bit modes.

Needless to say, this takes considerable time.

Jeff





[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux