FDC and compilation parameters.

FDC and compilation parameters.

am 21.05.2004 07:39:58 von 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..

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

Re: FDC and compilation parameters.

am 22.05.2004 20:45:29 von Halil Demirezen

Anyone there?



On Fri, May 21, 2004 at 08:39:58AM +0300, Halil Demirezen wrote:
> 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

-
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

Re: FDC and compilation parameters.

am 23.05.2004 08:50:12 von Richard Adams

On Saturday 22 May 2004 20:45, Halil Demirezen wrote:
> 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.

--
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
pa3gcu@zeelandnet.nl
http://people.zeelandnet.nl/pa3gcu/



-
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

Re: FDC and compilation parameters.

am 23.05.2004 21:26:28 von Halil Demirezen

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.



On Sun, May 23, 2004 at 08:50:12AM +0200, pa3gcu wrote:
> On Saturday 22 May 2004 20:45, Halil Demirezen wrote:
> > 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.
>
> --
> 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
> pa3gcu@zeelandnet.nl
> http://people.zeelandnet.nl/pa3gcu/
>
>
>
> -
> 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

-
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