I am trying to write some test kernels to get the
whole concept concrete. I am writing *.s and *.c
codes all together. However, I could not find the
exact CFLAGS to compile. Should I use -O2 or 
-fomit-frame-pointer...

What do you offer me ? The kernel will be written in
C ( some parts are asm) and there is no compression.
I am linking it with using 

 ld -Ttext 0x10000 -s --oformat binary -o test.bin test.o
 
and writing it to the floppy as below:

 dd obs=512 seek=6 if=test.bin of=/dev/fd0


However, there are some unexpected faults and the machine reboot.
I am using I386 by the way ;).

And can anyone tell me where I can find a good document telling 
how to program FDC. All the staff i found on net is confusing..

Thanks.

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

Reply via email to