S.O.S

hi asmguru and eric tetz
thats my first message here
i ve just joined on
i wanna know how could an OS kernel written in C/C++ run
because C/C++ cant do without runtimes
r there any special compilers for this
plz hlp me and where can i get those compilers or linkers from



Comments

  • : hi asmguru and eric tetz
    : thats my first message here
    : i ve just joined on
    : i wanna know how could an OS kernel written in C/C++ run
    : because C/C++ cant do without runtimes
    : r there any special compilers for this
    : plz hlp me and where can i get those compilers or linkers from
    :
    :
    :

    When you get an EXE - all runtimes are linked statically, so it is just pure ASM - nothing matters anymore...


  • : : hi asmguru and eric tetz
    : : thats my first message here
    : : i ve just joined on
    : : i wanna know how could an OS kernel written in C/C++ run
    : : because C/C++ cant do without runtimes
    : : r there any special compilers for this
    : : plz hlp me and where can i get those compilers or linkers from
    : :
    : :
    : :
    :
    : When you get an EXE - all runtimes are linked statically, so it is just pure ASM - nothing matters anymore...
    :
    :
    i know that all runtimes r statically linked but the runtimes r platform dependent and an OS is itself a platform how can a come before an OS
    is there any special startup code to be written in asm
    kind of code that executes JMP instruction to the starting address or something else. plz help



  • : hi asmguru and eric tetz
    : thats my first message here
    : i ve just joined on
    : i wanna know how could an OS kernel written in C/C++ run
    : because C/C++ cant do without runtimes
    : r there any special compilers for this
    : plz hlp me and where can i get those compilers or linkers from
    :

    In the long run you must write your own clib (or modify an existend). There are some OS independend functions (in string.h and ctype.h) you can use but the rest I think youve got to write it by your selve.
    look at http://www.execpc.com/~geezer/osd/ which explains it all

    hope it helped
    Moe


  • : : hi asmguru and eric tetz
    : : thats my first message here
    : : i ve just joined on
    : : i wanna know how could an OS kernel written in C/C++ run
    : : because C/C++ cant do without runtimes
    : : r there any special compilers for this
    : : plz hlp me and where can i get those compilers or linkers from
    : :
    :
    : In the long run you must write your own clib (or modify an existend). There are some OS independend functions (in string.h and ctype.h) you can use but the rest I think youve got to write it by your selve.
    : look at http://www.execpc.com/~geezer/osd/ which explains it all
    :
    : hope it helped
    : Moe
    :
    :
    thanx moe it really helped



Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories