OSDev.org

The Place to Start for Operating System Developers
It is currently Thu Mar 28, 2024 11:02 pm

All times are UTC - 6 hours




Post new topic Reply to topic  [ 11 posts ] 
Author Message
 Post subject: GCC Working Configurations Table
PostPosted: Mon Feb 15, 2010 3:51 am 
Offline
Member
Member
User avatar

Joined: Sun Oct 22, 2006 7:01 am
Posts: 2646
Location: Devon, UK
Hi,

I mentioned last week on the wiki, that the GCC Working Configurations table had become a little big for sensible resolutions :) What doesn't help is that the current GCC version is always on the far right of the table and therefore is not visible (4:3 @ 1024x768).

A few of us have been discussing this and I have created an alternative table which displays higher version numbers on the right and splits out versions of GCC below v4.0.0.

The two articles in question are:
GCC Cross-Compiler and
user:AJ/GCC Cross-Compiler

Because the article is used so often and by so many people, I just wanted to get opinions from the forums before I actually merge my changes. Any thoughts?

Cheers,
Adam


Top
 Profile  
 
 Post subject: Re: GCC Working Configurations Table
PostPosted: Mon Feb 15, 2010 4:00 am 
Offline
Member
Member
User avatar

Joined: Thu Aug 11, 2005 11:00 pm
Posts: 1110
Location: Tartu, Estonia
Alternatively, you could transpose the table, i.e. exchange rows and columns, with binutils versions decreasing from left to right and gcc versions decreasing from top to bottom. That could make it easier to scroll through the table.

_________________
Programmers' Hardware Database // GitHub user: xenos1984; OS project: NOS


Top
 Profile  
 
 Post subject: Re: GCC Working Configurations Table
PostPosted: Mon Feb 15, 2010 4:22 am 
Offline
Member
Member
User avatar

Joined: Thu Nov 16, 2006 12:01 pm
Posts: 7612
Location: Germany
...or we could scrap the table altogether. The last proven incompatibilities were from GCC 3.3 times (or from people who can't handle version numbering despite explicit warnings, and I doubt any text or table could solve that particular problem). I doubt there's much information to be won from the table.

_________________
Every good solution is obvious once you've found it.


Top
 Profile  
 
 Post subject: Re: GCC Working Configurations Table
PostPosted: Mon Feb 15, 2010 6:18 am 
Offline
Member
Member
User avatar

Joined: Sat Dec 27, 2008 2:34 pm
Posts: 548
Location: Belgium
XenOS wrote:
Alternatively, you could transpose the table, i.e. exchange rows and columns, with binutils versions decreasing from left to right and gcc versions decreasing from top to bottom. That could make it easier to scroll through the table.


If the table is to stay as it were, I suggest you also place the binutils versions in decreasing order (otherwise you have GCC with decreasing version numbers and binutils with increasing version numbers, which seems a bit strange to me).

Swapping the versions around might help, since it would make the table a vertical monstrosity instead of a horizontal one. I'm not sure if it won't be too big then, however. But if we were to do this, I don't see any use of splitting GCC3 and GCC4 versions in separate tables.

Solar wrote:
...or we could scrap the table altogether. The last proven incompatibilities were from GCC 3.3 times (or from people who can't handle version numbering despite explicit warnings, and I doubt any text or table could solve that particular problem). I doubt there's much information to be won from the table.


I've thought of this as well, since there are a lot of question marks in this table and the only few that have been tested have passed anyway. Maybe we could make a small list (but not a table) of versions that don't work well together instead of a huge table of what does, seeing as there is a minority of non-working combinations.

_________________
When the chance of succeeding is 99%, there is still a 50% chance of that success happening.


Top
 Profile  
 
 Post subject: Re: GCC Working Configurations Table
PostPosted: Mon Feb 15, 2010 6:33 am 
Offline
Member
Member
User avatar

Joined: Sun Oct 22, 2006 7:01 am
Posts: 2646
Location: Devon, UK
Creature wrote:
If the table is to stay as it were, I suggest you also place the binutils versions in decreasing order (otherwise you have GCC with decreasing version numbers and binutils with increasing version numbers, which seems a bit strange to me).

I hoped to do that, but won't bother unless the question mark over the table's future goes away :)

Solar wrote:
...or we could scrap the table altogether.

NP with that, although it is useful for answering those "didn't follow the tutorial..."-type questions. It's quite nice to know that a particular version combination has been shown to work. As a compromise, how about taking Createure's suggestion (mention versions that do not work and in addition, simply have "Latest known working version: GCC 4.4.3 / Binutils 2.20" somewhere obvious on the page, that just gets updated in the same way as the table currently does. I'm happy to just keep the current table in my namespace for sentimetalities' sake :)

We currently have i[5/6/x]86-elf and x86_64-elf articles separately on the wiki. This was useful when x86_64 needed patching, but since 4.3.x, this hasn't been necessary. Therefore, scrap the x86_64 article and perhaps also list known good TARGET strings.

Cheers,
Adam


Top
 Profile  
 
 Post subject: Re: GCC Working Configurations Table
PostPosted: Mon Feb 15, 2010 9:12 am 
Offline
Member
Member
User avatar

Joined: Thu Nov 16, 2006 12:01 pm
Posts: 7612
Location: Germany
AJ wrote:
Solar wrote:
...or we could scrap the table altogether.

NP with that, although it is useful for answering those "didn't follow the tutorial..."-type questions. It's quite nice to know that a particular version combination has been shown to work.


Good point. Perhaps keep the table on the discussion page (for reference by those who are facing those "tutorial doesn't work" questions)?

Quote:
As a compromise, how about taking Createure's suggestion (mention versions that do not work and in addition, simply have "Latest known working version: GCC 4.4.3 / Binutils 2.20" somewhere obvious on the page, that just gets updated in the same way as the table currently does.


Table on discussion page, latest known-good version in the article?

(I would suggest, though, that only versions actually available on ftp.gnu.org be taken into account.)

_________________
Every good solution is obvious once you've found it.


Top
 Profile  
 
 Post subject: Re: GCC Working Configurations Table
PostPosted: Mon Feb 15, 2010 9:26 am 
Offline
Member
Member
User avatar

Joined: Sun Oct 22, 2006 7:01 am
Posts: 2646
Location: Devon, UK
Solar wrote:
(I would suggest, though, that only versions actually available on ftp.gnu.org be taken into account.)

:D I saw your comment on the discussion page - just so no-one gets the wrong idea, version 4.5.0 wasn't me!


Top
 Profile  
 
 Post subject: Re: GCC Working Configurations Table
PostPosted: Mon Feb 15, 2010 9:53 am 
Offline
Member
Member
User avatar

Joined: Thu Nov 16, 2006 12:01 pm
Posts: 7612
Location: Germany
AJ wrote:
Solar wrote:
just so no-one gets the wrong idea, version 4.5.0 wasn't me!


It was bluechill, who had troubles on MacOS and had to patch GCC trunk. (Wiki history is a fine thing. 8) )

_________________
Every good solution is obvious once you've found it.


Top
 Profile  
 
 Post subject: Re: GCC Working Configurations Table
PostPosted: Mon Feb 15, 2010 11:47 am 
Offline
Member
Member
User avatar

Joined: Tue Oct 17, 2006 9:29 pm
Posts: 2426
Location: Canada
Maybe only the major/minor number should be mentioned? gcc 4.5.x or 4.4.x or 4.2.x? perhaps with notes below the table mentioning issues with specific "sub" releases in that series?

_________________
Image
Twitter: @canadianbryan. Award by smcerm, I stole it. Original was larger.


Top
 Profile  
 
 Post subject: Re: GCC Working Configurations Table
PostPosted: Mon Feb 15, 2010 12:17 pm 
Offline
Member
Member
User avatar

Joined: Wed Oct 18, 2006 3:45 am
Posts: 9301
Location: On the balcony, where I can actually keep 1½m distance
I agree with Solar that moving the compatibility list would be a good option. I would however put it on a separate page, and not someplace unofficial as the talkpage...

_________________
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]


Top
 Profile  
 
 Post subject: Re: GCC Working Configurations Table
PostPosted: Tue Feb 16, 2010 4:22 am 
Offline
Member
Member
User avatar

Joined: Sun Oct 22, 2006 7:01 am
Posts: 2646
Location: Devon, UK
Hi,

Taking on board the suggestions here, I'm going to start work.

I will remove the table from the GCC Cross-Compiler article as mentioned and have started work reversing the version numbers here:user:AJ/GCC Cross-Compiler. Once I'm happy with it, I'll move that page out of my namespace to somewhere sensible, with links to/from the GCC Cross-Compiler article. I'll also add a "latest tested" bit in the main article.

Cheers,
Adam

[edit: initial changes to the article complete - needs reviewing and proof-reading]


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 11 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 16 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group