Page 1 of 1
x86-64 kernel
Posted: Mon Feb 09, 2009 12:07 pm
by silviubogan
So, my PC and OS are x86-64 and I didn't find on the internet any tutorial on how to make a x86-64 kernel. I tried to make a kernel using elf - it won't link. I tried to make a kernel using elf64 - grub won't boot it. What should I do? I must add some ASM code to make it work? I've followed
this tutorial. I am using Ubuntu, ld, gcc, nasm and bochs.
Sorry for the bad English.
PS: Don't blame me, I'm 13.
Re: x86-64 kernel
Posted: Mon Feb 09, 2009 12:55 pm
by 01000101
wiki a little harder next time:
http://wiki.osdev.org/Creating_a_64-bit_kernel
silviubogan wrote:
PS: Don't blame me, I'm 13.
that's the worst excuse I've ever heard...
If you're old enough to take on the task, then you are old enough to recieve responsibilities along the way.
Re: x86-64 kernel
Posted: Mon Feb 09, 2009 2:22 pm
by Love4Boobies
You will have to build a cross-compiler first. Check the wiki on how to do that. Si adauga-ma in lista de mess daca ai... vezi profilul meu pt ID
Re: x86-64 kernel
Posted: Mon Feb 09, 2009 5:03 pm
by Combuster
Google, wiki, ask smart questions, follow the rules and prevent your threads from being locked.