Page 1 of 1

Got few questions about OS development

Posted: Sun Mar 23, 2008 3:38 am
by Gilad
Hey all, nice website and forums you got :)

started working on my own OS and i got some questions
so far those 2 are the most important:
1. why cant we use builtin functions?
from what i see we are limited by the linking stage and not the compile because this is the error i get: (.text+0x27): undefined reference to `__ZNSsC1Ev' and .text is in Link.ld

2. why are we using protected mode? what its good for?

EDIT: tried searching the forums, wiki and google first.

Thanks, Gilad.

Posted: Sun Mar 23, 2008 3:52 am
by davidv1992
The thing with builtin functions is that they are provided by lib's you haven't wrote yourself. This means they can be implemented in about 1001 ways. And usually they will use facilities provided by the kernel, which is the thing you're now trying to write.

on PMODE, read this and this and use google.[/url]

Posted: Sun Mar 23, 2008 3:56 am
by Gilad
i did read the first link and now the second one, so i guess Windows/Unix run in PM?

so there is no way to use the built in functions? kinda sux :/

Posted: Sun Mar 23, 2008 6:39 am
by nekros
not really, it's more fun! That is what we do here.

Posted: Sun Mar 23, 2008 9:45 am
by lukem95
nekros wrote:not really, it's more fun! That is what we do here.