public inbox for linux-newbie@vger.kernel.org
 help / color / mirror / Atom feed
* FDC and compilation parameters.
@ 2004-05-21  5:39 Halil Demirezen
  2004-05-22 18:45 ` Halil Demirezen
  0 siblings, 1 reply; 4+ messages in thread
From: Halil Demirezen @ 2004-05-21  5:39 UTC (permalink / raw)
  To: linux-newbie

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 majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-05-23 19:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-21  5:39 FDC and compilation parameters Halil Demirezen
2004-05-22 18:45 ` Halil Demirezen
2004-05-23  6:50   ` pa3gcu
2004-05-23 19:26     ` Halil Demirezen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox