OSDev.org

The Place to Start for Operating System Developers
It is currently Fri Mar 29, 2024 9:49 am

All times are UTC - 6 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: compiling the os independent code
PostPosted: Wed Apr 11, 2001 11:00 pm 
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


Top
  
 
 Post subject: RE:compiling the os independent code
PostPosted: Thu Apr 12, 2001 11:00 pm 
>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... :)


Top
  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: Bing [Bot], Google [Bot], Majestic-12 [Bot] and 162 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group