Messages in this thread | | | Subject | Re: 2.6.32-rc3: low mem - only 378MB on x86_32 with 64GB. Why? | From | Benjamin Herrenschmidt <> | Date | Sun, 11 Oct 2009 20:06:33 +1100 |
| |
On Tue, 2009-10-06 at 07:35 -0700, Linus Torvalds wrote: > > On Tue, 6 Oct 2009, Jeff Chua wrote: > > > > First, have to compile gcc so that it can compile 64 bit kernel. That's a > > tough one! > > It's supposed to be easier these days, but I guess distros don't compile > in support for 64-bit mode by default. Just using another machine may be > the simplest approach, if you have any 64-bit distro around.
My experience is that most distros have a compiler capable of generating a 64-bits kernel, if not 64-bits userspace (the later depends on whether the "other" bits such as libgcc, glibc, etc... are there for 64-bits, which is also generally available, though optional).
I regulary compile 64-bit kernels with a 32-bit Ubuntu or Debian on i386
Cheers, Ben.
| |