Problems with Cygwin ld/G++
Posted: Thu Dec 20, 2001 12:00 am
To compile an os kernel, I am using Cygwin's win32
port of GCC and LD. However, everytime I try to link
the kernel, I get a warning that says:
cannot find entry symbol _mainCRTStartup
defaulting to 00401000
When I try to load the kernel to 0x2000
and then call jmp 0x2000:0x0000, I get strange output.
I am wondering if I simply need to change that default,
or if something is really wrong with my code.
port of GCC and LD. However, everytime I try to link
the kernel, I get a warning that says:
cannot find entry symbol _mainCRTStartup
defaulting to 00401000
When I try to load the kernel to 0x2000
and then call jmp 0x2000:0x0000, I get strange output.
I am wondering if I simply need to change that default,
or if something is really wrong with my code.