I'd like to build an embedded kernel for an x86 machine using Visual C++. I have some C and assembly code files to compile and I'd like to link them all together in a way that is compatible with a Multiboot bootloader like GRUB.
...
I am using Msys to build a home brew kernel that I wrote under Linux. Linux used ELF for its binary format and Msys uses PE. I have the source setup to allow it to be booted by Grub using the Multiboot spec. At the end of the build, I get some undefined symbols:
init.o:init.S:(.text+0x14): undefined reference to `edata'
main.o:main....
In short:
I have a multiboot machine with Win XP, Windows 7 and Ubuntu, and I would like my localhost web projects to be shared by all three OSes.
Details:
I finally want to get rid of Windows XP for my web development work, but my local Apache + PHP + MySQL stack is tied to my old OS, and I spent some time and thinking to tweak this se...