Home arrow Forums
OSDEV Forums  


virendra_mishra
Visitor
 
linking problem in developing kernel - 2008/04/01 07:34 hi geeks

I am learning to develop kernel from Bran,s kernel development tutorial....

i am at the stage of linking isrs.c
the whole source code is available athttp://www.osdever.net/bkerndev/bkerndev.zip
i am using nasm and gcc on red hat linux and running the kernel.bin on vmware on XP
but at the stage of linking isrs.c, size of the kernel increases
to 1 MB. and it does not work

i faced the same problem with scrn.c because of calling puts("hello World"); in main.c
which i solved by declaring a string globally
char str[]="Hello World";

calling puts(str); in main.c

and it worked properly.........

but this time i m not able to solve it myself...
so please if anyone can............
  | | The administrator has disabled public write access.
OSDEV
Community
Advertisement
   

A WebArticles site. Sponsored by Evoleto. Motorola V525 / Business Directory / Delaware Incorporation / Home Made Bazaar