Skip to contentSkip to conversation

FDC and compilation parameters.

DISCUSSION Halil Demirezen 2 participants 4 messages May 21, 2004 – May 23, 2004

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw

Anyone there?

Quoted 23 lines · Halil Demirezen

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..

Quoted 7 lines

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

-
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

#2 lore raw
Quoted 1 line · Halil Demirezen

Anyone there?

Yes there are many who are subscribed to this list, but that does not mean they all have an answer to your question.
I for one do not. I could give an answer but it would not be accurute as i do not see myself as a programmer, just a linux user of 12+ years.

Try a newsgroup which deals in this sort of thing.

Signature · 15 lines
If the Linux community is a bunch of thieves because they
try to imitate windows programs, then the Windows community
is built on organized crime.

Regards Richard
[email protected]
http://people.zeelandnet.nl/pa3gcu/



-
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
#3 lore raw

I can guess, of course, if noone wants to answer, noone does.. However, if there are any people who has faced the same problems before, i would like to listen his experiences. I am searching web however, there is not enough documentation for FDC. And the examples used in the doc. are lack or wrong. And the kernel compilation phase is a different issue. If one does not know the parameters when compiling the kernel. It is not compiled rite and then you have to deal with so many meaningless problems. Nevertheless, you can solve it with changing the CFLAGS.

Thanks for your interests, guys.

Sincerely.

Quoted 4 lines · On Sun, May 23, 2004 at 08:50:12AM +0200, pa3gcu wrote:
Quoted 1 line · Halil Demirezen

Anyone there?

Quoted 23 lines

Yes there are many who are subscribed to this list, but that does not mean they all have an answer to your question.
I for one do not. I could give an answer but it would not be accurute as i do not see myself as a programmer, just a linux user of 12+ years.

Try a newsgroup which deals in this sort of thing.

Signature · 15 lines
If the Linux community is a bunch of thieves because they
try to imitate windows programs, then the Windows community
is built on organized crime.

Regards Richard
[email protected]
http://people.zeelandnet.nl/pa3gcu/



-
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

-
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