Hello,
I'm trying the Bare Bones tutorial but when I try link i get the error message :
"loader.s:(.text+0x14): undefined reference to 'kmain' ".
I use cygwin and I follow the exact instruction of the turorial.
Also I'm not sure about the choice of the compiler in cygwin : here is what i use:
gcc-core: C compiler
gcc-mingw-core:Mingw32 support headers and lib
Is that the right compiler to be used?
Does anyone have an idea where this error come from ?
Thank you !
[BareBones] error when linking
Re: [BareBones] error when linking
okay, in loader.s change all references to kmain to _kmain. windows adds an underscore to function names.
Re: [BareBones] error when linking
It worked ! Thank you for the tip !