Re: [Vserver] mixed gcc versions

From: Michael S. Zick <mszick_at_morethan.org>
Date: Tue 19 Sep 2006 - 13:50:37 BST
Message-Id: <200609190750.37437.mszick@morethan.org>

On Tue September 19 2006 07:16, Chuck wrote:
> will a 32 bit guest compiled under gcc 3.4.6 run properly under a 64 bit host
> compiled using gcc 4.1.1?
>
> not positive of what is compatible and what is not.
>
> unfortunately i have not found a centos guest template done under 4.1.1
>
> have not looked yet at the centos64 to see if that is under 4.1.1
>

Only the kernel is common between host and guest.

Which means host and guest software needs to be built against
the same (or compatible) kernel headers.

Plus the consideration that your question implies - the kernel
when compiled for 64-bit must still support 32-bit code.

Not all brands of machine will support mixed size code.
For instance, Linux on pa-risc does not have a 64-bit userland,
regardless of the kernel being compiled for either 32-bit or 64-bit.

Mike
_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Tue Sep 19 13:54:40 2006

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Tue 19 Sep 2006 - 13:54:46 BST by hypermail 2.1.8