Re: Setting up development environment using QEMU.

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

 



> On Fri, Jun 8, 2012 at 6:46 PM, Adam Lee <adam8157@xxxxxxxxx> wrote:
> > On Fri, Jun 08, 2012 at 06:08:44PM +0600, Aft nix wrote:
> 
> > Sure about this? Check the output of `file vmlinux`
> 
> You were right then.
> 
> $file vmlinux
> $vmlinux: ELF 64-bit LSB executable, x86-64, version 1 (SYSV),
> statically linked, not stripped
> 
> > What's the arch of your host system, and your toolchain?
> 
> $uname -ar
> $Linux kernel.vbox 2.6.32-220.el6.x86_64 #1 SMP Tue Dec 6 19:48:22 GMT
> 2011 x86_64 x86_64 x86_64 GNU/Linux
> $gcc -v
> Using built-in specs.
> Target: x86_64-redhat-linux

So, just add ARCH var when you making, like this:

make ARCH=i386 menuconfig
make ARCH=i386 bzImage

Tested OK.

-- 
Regards,
Adam Lee
--------------------------------
E-mail: adam8157@xxxxxxxxx
Website: http://adam8157.info
--------------------------------

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


[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