Page 3 of 3

Posted: Sun May 06, 2007 6:16 pm
by neon
I attached the new code, linker script, and batch program.
(It is code.zip) The batch program executes nasm, gcc, ld-elf,
objcopy, and makeboot.

makeboot.exe is a modified program I created that combines the
bootloader and kernel files, and creates a valid ISO image from it.
I dont know what you use, so you may need to modify the script
a little.

Posted: Sun May 06, 2007 6:33 pm
by thewonderidiot
I don't have ld-elf under Linux, nor do I have a makeboot. I tried linking with LD and got the "undefined reference to _main" again, so I tried without the underscore. It linked fine, and I just used cat to concatenate the bootloader and the kernel. After all that, it worked fine! Thanks for all of your help!