Page 2 of 2
Re: Is gcc cross compiler needed in this case?
Posted: Tue Mar 10, 2009 3:48 am
by AJ
Hi,
On the same page you copied and pasted that snippet from, there is a table of known good configurations. The earliest test-case I can see is Binutils 2.16 with GCC 3.4.3. You are still 7 releases behind this. Why wouldn't you use the latest GCC and Binutils?
Cheers,
Adam
Edit: Also from the same wiki page:
Problems have been reported on trying to build bintils 2.14 with Cygwin GCC < 3.3.3.3 as host compiler, as well as on trying to build binutils <= 2.15 with GCC 4.x as host compiler.
This should at least give a hint that not all early versions will work.
Re: Is gcc cross compiler needed in this case?
Posted: Tue Mar 10, 2009 5:06 am
by Solar
AJ wrote:You are still 7 releases behind this. Why wouldn't you use the latest GCC and Binutils?
Because he hasn't read the part about the versioning scheme, and is one of those believing that whatever comes last in an
alphanumerical listing of versions (binutils-2.
9) must be latest, and screw binutils-2.
19, date stamps, the table of known-good versions, or whatever...
Re: Is gcc cross compiler needed in this case?
Posted: Tue Mar 10, 2009 6:42 am
by Raven
You guys are right, i skipped that and i paid for that.
I am goin through tutorial again, hope i wont skip anything and get it working tonight.
Thanks a lot
Re: Is gcc cross compiler needed in this case?
Posted: Tue Mar 10, 2009 7:21 am
by Solar
Never mind, it's OK.
Re: Is gcc cross compiler needed in this case?
Posted: Thu Mar 26, 2009 10:38 am
by Raven
Sorry for Delay ( rather too much delay), actually i was busy with internal exams.
Well, i messed everything while doing cross, now my cygwin says "cygwin1.dll missing, reinstalling may solve this"
I reinstalled from local directory and web too, tried uninstalling and then installing but nothing works that folder and files are still there.
I am having tough time doing it.
Any suggestions please!
Re: Is gcc cross compiler needed in this case?
Posted: Thu Mar 26, 2009 2:46 pm
by Solar
Uninstall, then delete remaining folders / files by hand?
Re: Is gcc cross compiler needed in this case?
Posted: Fri Mar 27, 2009 1:32 pm
by Raven
Thanks a lot i will try it.
Even if it didn't work it will take me 40 min to setup another installation of xp.
Thanks a lot dear
Re: Is gcc cross compiler needed in this case?
Posted: Sat Mar 28, 2009 2:54 am
by Raven
Guess what...........Yeah you are correct.
Firstly Thanks to Almighty and off course all you guys there , eager and willing to help newbies.
Thanks to solar,AJ,combuster,MessiahAndrw, and all other guys who posted here and also to those who were busy with solving other guys problems and did not posted here but off course somewhere. You guys are so good that at times i did left the idea of doing cross but this pumped me.
MessiahAndrw wrote:A cross compiler isn't scary, and if you're going to write your own OS then it's going to be WAY more difficult when you try to port libraries and programs to your OS.
I was feeling empty and sad when i failed to do cross for using non-appropriate releases worse i was cursing myself for not following the tutorial correctly but this lifted me
Solar wrote:Never mind, it's OK.
And Finally I did make a gcc cross compiler for Linux.
I do not know how to thank this forum as being the resource of all needy.
Ohhhhhhhhhhhhhhhhhhhhh
I will be back soon!
One think that i wanna mention is that follow this thread and wiki tutorial for gcc-cross and your cross is matter of 30-40 minutes.
Finally, what i did as told by solar uninstall and delete and then installed fresh copy of cygwin making sure fllex,bison,make,bash,gcc,binutils are selected. Then i used gcc-core-4.1.2 and binutils-2.17 reason simple
1. Satisfies the criterion for cywin and windows.
2. I have fc7 that have same releases and my kernel was compiled fine, thus a way to cross check.
And now i am done.
Thanks a lot everybody.