This is the mail archive of the
mailing list for the GCC project.
Re: [email@example.com: Re: 2.95.4, sparc64 issues ?]
On Mon, Sep 10, 2001 at 07:07:25PM +0200, Marc Espie wrote:
> > Anyway, what prevents you from running 32-bit programs on top of 64-bit
> > kernel? That's what Linux does for quite some time.
> > You only need 64-bit compiler for the kernel.
> Oh sure. Use one compiler for the kernel and another compiler for userland.
> Get real. This kind of double the number of bugs that exist. Plus double
> the maintenance.
It is not actually that big burden. At least Linux kernel doesn't use
any floating point code, so there is no reason to worry about SUBREG_BYTE.
If you use -mno-fpu, gcc will never attempt to generate any such code, so
you could use unpatched 2.95.4.
Linux kernel used to be compiled even with some egcs 1.1.x snapshots on
sparc64 and it worked. It can take some time to stabilize the thing, but
definitely far less than trying to use the compiler for compiling userland