Skip to contentSkip to conversation

gcc compilation

DISCUSSION Viral Mehta 1 participant 2 messages May 18, 2009

lore
Share & tools
lore
#0 lore raw

Hello,

I was compiling 2.6.29.7 kernel but it stopped as my system had gcc version 4.1.1.
There was some bug with respect to __weak attribute in gcc 4.1.[01]. So, I started installing newer gcc 4.3.0.

That was a history part. Now, I have a query.

If I am installing gcc 4.3.0. It will be compiled using gcc 4.1.0 as I have that installed on my PC. Now, gcc 4.1.0 has several BUGS and so compilation of gcc 4.3.0 will not happen correctly. How this situation is handled normally ??

Signature · 1 line
Thanks, Viral Mehta, Embedded Software Engineer, www.einfochips.com
#1 lore raw

Ohh sorry asking w/o g00gling...
I just found

GCC manual : "the default configuration is to perform a 3-stage bootstrap of the compiler when ‘make’ is invoked. This will build the entire GCC system and ensure that it compiles itself correctly."

Quoted 8 lines · Viral Mehta

Hello,

I was compiling 2.6.29.7 kernel but it stopped as my system had gcc version 4.1.1.
There was some bug with respect to __weak attribute in gcc 4.1.[01]. So, I started installing newer gcc 4.3.0.

That was a history part. Now, I have a query.

If I am installing gcc 4.3.0. It will be compiled using gcc 4.1.0 as I have that installed on my PC. Now, gcc 4.1.0 has several BUGS and so compilation of gcc 4.3.0 will not happen correctly. How this situation is handled normally ??

Signature · 1 line
Thanks, Viral Mehta, Embedded Software Engineer, www.einfochips.com