lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20070107143205.GB435@1wt.eu>
Date:	Sun, 7 Jan 2007 15:32:05 +0100
From:	Willy Tarreau <w@....eu>
To:	Akula2 <akula2.shark@...il.com>
Cc:	linux-kernel@...r.kernel.org
Subject: Re: Multi kernel tree support on the same distro?

[ 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 <w@....eu> 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 majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ