Re: Multi kernel tree support on the same distro?

From: Akula2
Date: Sun Jan 07 2007 - 09:19:36 EST


> On 1/7/07, Willy Tarreau <w@xxxxxx> 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?

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


> Hope you guys consider these (my) questions as Novice, because am
> trying to figure a design @ How-To build such multi kernel/gcc
> systems.

Well, I hope it will help you
Willy

Thanks,
~Akula2
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/