>On 2001-04-12 22:10:27, maurya shah wrote:
>hi,
>can comeone tell me how do i complie an os
>independent bootup assembly code, i tried to use the
>gcc cross complilation option, it hangs the boot
>process.
>regards,
>maurya
BTW: Every bootstrap code is os independant, becouse at that time no os is running
For the boot process don't use gcc, it could (and for the x86 architecture it surely will) generate an invalid code (eg. 32-bit for x86 real mode, when it should be 16-bit) Instead use NASM or some similar assembly code compiler. Don't know if you were talking about this, but what the hell...