>On 2001-12-20 22:12:20, os_dev wrote:
>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.
Chris' got your answer in another message... that
should work, I'm just curious as to why you're using
cygwin? 'cuz if djgpp will work, I think that'd be
easier for OS development.
It'll work with nasm, and... well, I think most
people on this list are using it, so it might be
easier to get help with it.
Just my two cents, of course
Not tryin' to preach
or anything... I've used cygwin myself, and like it
a lot.
Oh, btw... since you are using cygwin... where can
I grab the latest copy? Last I checked, I could
only find commercial versions through red hat. It'll
work under NT/XP as well, right?
Jeff