Setting up development environment using QEMU.

Aft nix aftnix at
Fri Jun 8 09:08:09 EDT 2012

On Fri, Jun 8, 2012 at 6:46 PM, Adam Lee <adam8157 at> 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
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--with-bugurl= --enable-bootstrap
--enable-shared --enable-threads=posix --enable-checking=release
--with-system-zlib --enable-__cxa_atexit
--disable-libunwind-exceptions --enable-gnu-unique-object
--enable-java-awt=gtk --disable-dssi
--enable-libgcj-multifile --enable-java-maintainer-mode
--disable-libjava-multilib --with-ppl --with-cloog --with-tune=generic
--with-arch_32=i686 --build=x86_64-redhat-linux
Thread model: posix
gcc version 4.4.6 20110731 (Red Hat 4.4.6-3) (GCC)

> BTW, my kernel developing and debugging environment:

Thanks for the link. I will look into it.

> --
> Regards,
> Adam Lee
> --------------------------------
> E-mail: adam8157 at
> Website:
> --------------------------------


More information about the Kernelnewbies mailing list