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.
x86-64 kernel
Re: x86-64 kernel
wiki a little harder next time: http://wiki.osdev.org/Creating_a_64-bit_kernel
If you're old enough to take on the task, then you are old enough to recieve responsibilities along the way.
that's the worst excuse I've ever heard...silviubogan wrote: PS: Don't blame me, I'm 13.
If you're old enough to take on the task, then you are old enough to recieve responsibilities along the way.
Website: https://joscor.com
- Love4Boobies
- Member
- Posts: 2111
- Joined: Fri Mar 07, 2008 5:36 pm
- Location: Bucharest, Romania
Re: x86-64 kernel
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
"Computers in the future may weigh no more than 1.5 tons.", Popular Mechanics (1949)
[ Project UDI ]
[ Project UDI ]
- Combuster
- Member
- Posts: 9301
- Joined: Wed Oct 18, 2006 3:45 am
- Libera.chat IRC: [com]buster
- Location: On the balcony, where I can actually keep 1½m distance
- Contact:
Re: x86-64 kernel
Google, wiki, ask smart questions, follow the rules and prevent your threads from being locked.