[ CC list trimmed since I'm repeating myself ]

On Sun, Jan 07, 2007 at 07:49:05PM +0530, Akula2 wrote:
> >> On 1/7/07, Willy Tarreau <[EMAIL PROTECTED]> wrote:
> >I don't see which libs you are talking about. The compiler you build your
> >kernel with is totally independant on the compiler you build your apps 
> >with.
> >A few years ago, some distros even shipped a compiler just for the kernel
> >(they called the binary "kgcc").
> >
> >So you just have to build 2 different GCC, one for 2.4, one for 2.6 and
> >you use them to build your kernels. If you want yet another compiler for
> >your apps, simply do it, it's not a problem. For instance, look on my
> >system when I type gcc- <Tab> :
> 
> Sorry for the typo & confusion caused. I meant in that example as:-
> 
> myArmWireless app. compiled with gcc-3.4.x, NOT gcc-4.1.x compiler on
> say 2.4.34 kernel (assuming I can build 4.1.x on 2.4.34 kernel).
> 
> Now, I've got it about this app funda. Ok! Am coming closer now. I
> have these 2 tasks:-
> 
> a) Since 2.6 kernel has no issues with gcc-3.4.x, gcc-4.1.x. So I will
> build them. No probs here.
> 
> b) 2.4 kernel has no issues with gcc-3.4.x to my understanding, but am
> not sure about compiling it with gcc-4.1.x? If this is true, how to
> build this?

As I already explained in another mail, 2.4.34 builds with gcc-4.1 on x86
and a few other archs. I also explained how to do this :

$ make CC=gcc-4.1

I don't know how I can explain it to you an easier way, but what I'm sure
about is that if you are having such big trouble understanding simple
commands like this, you will certainly encounter many more when building
your own distro.

> Whole idea is to have 2 compilers (gcc-3.4.x, gcc-4.1.x) on the both
> the kernels.

That's what I understood and the need I replied too the first time.

Willy

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to