Is gcc cross compiler needed in this case?[ SOLVED ]

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
User avatar
AJ
Member
Member
Posts: 2646
Joined: Sun Oct 22, 2006 7:01 am
Location: Devon, UK
Contact:

Re: Is gcc cross compiler needed in this case?

Post 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.
User avatar
Solar
Member
Member
Posts: 7615
Joined: Thu Nov 16, 2006 12:01 pm
Location: Germany
Contact:

Re: Is gcc cross compiler needed in this case?

Post 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... :evil:
Every good solution is obvious once you've found it.
Raven
Member
Member
Posts: 41
Joined: Sun Feb 01, 2009 12:20 am

Re: Is gcc cross compiler needed in this case?

Post 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
User avatar
Solar
Member
Member
Posts: 7615
Joined: Thu Nov 16, 2006 12:01 pm
Location: Germany
Contact:

Re: Is gcc cross compiler needed in this case?

Post by Solar »

Never mind, it's OK. :wink:
Every good solution is obvious once you've found it.
Raven
Member
Member
Posts: 41
Joined: Sun Feb 01, 2009 12:20 am

Re: Is gcc cross compiler needed in this case?

Post 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!
User avatar
Solar
Member
Member
Posts: 7615
Joined: Thu Nov 16, 2006 12:01 pm
Location: Germany
Contact:

Re: Is gcc cross compiler needed in this case?

Post by Solar »

Uninstall, then delete remaining folders / files by hand?
Every good solution is obvious once you've found it.
Raven
Member
Member
Posts: 41
Joined: Sun Feb 01, 2009 12:20 am

Re: Is gcc cross compiler needed in this case?

Post 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 =D>
Raven
Member
Member
Posts: 41
Joined: Sun Feb 01, 2009 12:20 am

Re: Is gcc cross compiler needed in this case?

Post 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. :wink:
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.
Post Reply