Hi, I followed the article "Bare Bones" from the wiki. It all works well until it comes to boot the kernel: Grub starts up but after inserting "kernel 200+18" it sais "Error 13 invalid or unsupported executeable format"
I'm thankful for any help
Beginners Question about wikiarticle "Bare_bones"
Re: Beginners Question about wikiarticle "Bare_bones"
You need a cross compiler.
Re: Beginners Question about wikiarticle "Bare_bones"
thank for your fast reply.
are there any prebuilt for Windows or at least linux (I think MinGW doesn't provide any does it?)
greetings alex
are there any prebuilt for Windows or at least linux (I think MinGW doesn't provide any does it?)
greetings alex
Re: Beginners Question about wikiarticle "Bare_bones"
Every good solution is obvious once you've found it.
Re: Beginners Question about wikiarticle "Bare_bones"
You should also try to (if it isn't already) put your ASM file with the multi-boot header to be linked first. If it isn't, GRUB can also generate this error.
When the chance of succeeding is 99%, there is still a 50% chance of that success happening.
Re: Beginners Question about wikiarticle "Bare_bones"
Ok, I compiled the cross gcc but when compiling the kernel with the new i586-elf-gcc and linking with the new ld even grub doesn't load (Error on the virtual machine). When linking with my system ld, grub doesn't recognize the kernel as before.
Could this be a misscompiled gcc?
btw: I linked exactly as in the article.
Could this be a misscompiled gcc?
btw: I linked exactly as in the article.