Sorry to be a nuisance on my first post! I've just finally compiled my cross compiler after numerous problems, and my sleep deprived brain cannot work out whats going wrong with the examples on the Wiki, I'm worried that theres been an error with my cross compiler.
I've basically just done copy and paste on the examples (don't look at me like that >.>) and attempted to get it all up and running. I assembled the stub without issue, but when it came to the kernel.o I was getting these errors:
First off I removed the flags which allows it to compile, but it didn't work so I compiled again with flags on but removed the problematic lines. In both cases when it came to linking the files I get this error:kernel.c: In function `kmain':
kernel.c:14: warning: unused variable `boot_loader_name'
I'm using Cygwin (was on Windoze when I found this site), NASM, and GCC version 4.4.0. When compiling GCC it did give me an error in which it couldn't find a certain function to do with mpfr, those lines (1150) didn't appear to do anything except check that the version was correct (but again, I'm nackered so I might have overlooked something) so I commented them out and the compiling went fine after that.loader.o: In function `loader':
C:\cygwin\home\Auraomega\OS\loader.s:(.text+0x14): undefined reference to `kmain'
I'm hoping its something glaringly obvious and that I'm just to tired to notice it, better that than have to re-compile the cross compiler again. So, any help/advice would be really appreciated.
-Aura
P.S. sorry if this has been asked/answered in the past, I couldn't think of how to word "compiler error" and get something helpful.