Re: building 32 bit user mode linux in 64 bit environment

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi!

On 22:53 Mon 24 May     , Mulyadi Santosa wrote:
> On Mon, May 24, 2010 at 18:03, Michael Blizek
> <michi1@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
> > Hi!
> >
> > I have a system with 32 bit userspace and a 64 bit kernel. This runs fine, but
> > I ran into a problem with user mode linux. The build command "ARCH=um make
> > linux" builds a 64 bit kernel.
> 
> How about editing the CC variable in main Makefile and change that to
> "gcc32" (IIRC, that points to 32 bit version of gcc)?

I do not know what you mean by 32 bit gcc version. Gcc is 32 bit, just as the
rest of the system except the (host) kernel. However this gcc seems to do a
cross compilation to 64 bit. Usually you do this by e.g. "ARCH=i386 make
bzImage" or "ARCH=x86_64 make bzImage", but the ARCH variable must be set to
um...

	-Michi


--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux