Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
I have made some minor edits to the code given in the tutorial (my own cls and putstr in 32bit asm) but the main part is similar (with _kmain etc). I believe it is a problem with the MinGW ld. I found another topic with a similar problem. The fix for this however, relied on cygwin. Can anybody help?
eaglexrlnk wrote:You can link your kernel as PE binary and then convert it to ELF with the objcopy utility:
This seems a path to future problems. @OP: The tutorials you find on our wiki will generally assume the Cross Compiler option (as XenOS suggested). We'll also be able to help you much more with future problems if you're using the "standard" toolchain detailed in the wiki.