Setting up development environment using QEMU.

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


On Fri, Jun 8, 2012 at 6:46 PM, Adam Lee <adam8157 at gmail.com> 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
--infodir=/usr/share/info
--with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap
--enable-shared --enable-threads=posix --enable-checking=release
--with-system-zlib --enable-__cxa_atexit
--disable-libunwind-exceptions --enable-gnu-unique-object
--enable-languages=c,c++,objc,obj-c++,java,fortran,ada
--enable-java-awt=gtk --disable-dssi
--with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre
--enable-libgcj-multifile --enable-java-maintainer-mode
--with-ecj-jar=/usr/share/java/eclipse-ecj.jar
--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:
> https://github.com/adam8157/kernel-studio
>

Thanks for the link. I will look into it.

> --
> Regards,
> Adam Lee
> --------------------------------
> E-mail: adam8157 at gmail.com
> Website: http://adam8157.info
> --------------------------------



-- 
-aft



More information about the Kernelnewbies mailing list