[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: compiling 32-bit kernel for 64-bit platform
On Wed, Sep 06, 2006 at 04:53:44PM -0700, vikaas sohal wrote:
> Hi,
>
> I'm trying to compile a 32-bit linux kernel to run on my x86_64, so that i
> can run RTAI. I have tried following the instructions for cross-compilation
> on the kernelnewbies FAQ, and have searched for help on the web, but think I
> am still missing something basic.
>
> Here's what I've done so far:
>...
> again, i've tried to follow the information i've found online so far, but
> seem to be missing something basic. can anyone help?
Without looking deeper at your problems, I don't think you need a cross
compiler:
If you want to run a 32-bit kernel on your x86_64, you must run a
32-bit userspace (IOW: a 32-bit i386 version of your distribution).
As soon as you are using a 32-bit userspace, you'll no longer need a
cross compiler.
> thanks,
> vikaas
cu
Adrian
--
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
FAQ: http://kernelnewbies.org/faq/