Login
User Name:

Password:



Register
Forgot your password?
Vote for Us!
auth_update crash
Dec 23, 2017, 10:15 pm
By Remcon
check_tumble
Dec 18, 2017, 7:21 pm
By Remcon
parse description bug
Dec 15, 2017, 10:08 pm
By Remcon
Couple bugs
Dec 12, 2017, 5:42 pm
By Remcon
Bug in disarm( )
Nov 12, 2017, 6:54 pm
By GatewaySysop
LoP 1.46
Author: Remcon
Submitted by: Remcon
LOP 1.45
Author: Remcon
Submitted by: Remcon
LOP Heroes Edition
Author: Vladaar
Submitted by: Vladaar
Heroes sound extras
Author: Vladaar
Submitted by: Vladaar
6Dragons 4.3
Author: Vladaar
Submitted by: Vladaar
Users Online
CommonCrawl, Yandex, Google

Members: 0
Guests: 7
Stats
Files
Topics
Posts
Members
Newest Member
478
3,708
19,242
612
Jacki72H
Today's Birthdays
Evoru (32)
Related Links
» SmaugMuds.org » General » General Discussions » GCC4 for Cygwin?
Forum Rules | Mark all | Recent Posts

GCC4 for Cygwin?
< Newer Topic :: Older Topic >

Pages:<< prev 1 next >>
Post is unread #1 Mar 9, 2006, 12:47 am
Go to the top of the page
Go to the bottom of the page

Halcyon
Magician
GroupMembers
Posts187
JoinedApr 12, 2005

I'm curious... Is it possible to upgrade to GCC 4.1 with Cygwin? I haven't read anything about it, and couldn't find it, so I figured I'd ask in case anybody knew before I tried. Also, if it is, anybody know what exactly upgrading entails?
       
Post is unread #2 Mar 9, 2006, 4:37 am
Go to the top of the page
Go to the bottom of the page

Samson
Black Hand
GroupAdministrators
Posts3,639
JoinedJan 1, 2002

I have not seen any sign of being able to upgrade Cygwin to use gcc 4.0, much less 4.1. They're still using gcc 3.4.4, but for me it's not that huge a deal because it lets me make sure my code will still compile on previous versions of the compiler. Although gcc 4.x code should be valid in gcc 3.x as well, one never knows :)
       
Post is unread #3 Mar 10, 2006, 2:35 am
Go to the top of the page
Go to the bottom of the page

Halcyon
Magician
GroupMembers
Posts187
JoinedApr 12, 2005

For anybody interested, I'm actually making the GCC 4.1.0 compiler right this minute. So far so good, I'll let everybody know how it goes. :D
       
Post is unread #4 Mar 10, 2006, 9:39 am   Last edited Mar 10, 2006, 9:50 am by Halcyon
Go to the top of the page
Go to the bottom of the page

Halcyon
Magician
GroupMembers
Posts187
JoinedApr 12, 2005

The initial 3-stage build seemed to take forever (at least 3 hours, possibly more), but it's finally over. I'm running the testsuites now to check for any problems before I make the final install.

Also, I get the impression the testsuites take a rather long time, as well... Although, this all might be going faster if my computer wasn't older than dirt. I've got a 5-year-old Hewlitt-Packard running at 1.2Ghz on a Celeron with 256Mb of RAM. I'm pretty sure the latest computers would've gotten this all done *infinitely* faster.

Also, I'm not entirely sure of the exact list of prerequisites... I personally have every Cygwin package posted as of a couple weeks ago, but I know there are some basics that you *must* have to get a successful build, and there are also a few more to successfully run the testsuites (Which I highly recommend... We all know how Cygwin is. If there's a problem, you'll want to know ahead of time.).
       
Post is unread #5 Mar 10, 2006, 9:52 am
Go to the top of the page
Go to the bottom of the page

Halcyon
Magician
GroupMembers
Posts187
JoinedApr 12, 2005

Update... Just got a fail on one of my tests. It said the program "timed out." I dunno if this is significant or not... Hopefully, just got a ****ty comp that wasn't up to whatever it is they decided to call "gcc.c-torture." :P
       
Post is unread #6 Mar 10, 2006, 9:58 am
Go to the top of the page
Go to the bottom of the page

Halcyon
Magician
GroupMembers
Posts187
JoinedApr 12, 2005

Also, I went through the "testresults mailing list" at the GCC website, and it seems I'm one of like, 3 people who decided to try and compile GCC4 for Cygwin, or at the very least, there's only one other person who submitted his test results. :P
       
Post is unread #7 Mar 10, 2006, 12:09 pm
Go to the top of the page
Go to the bottom of the page

Halcyon
Magician
GroupMembers
Posts187
JoinedApr 12, 2005

Okay, upon searching submitted test results a little further, I found that the errors I had are common, and no big deal. It seems that the test that failed is a bit rough for older systems, and that failure is completely within tolerable parameters. It's still ticking away, though... This is gonna take all day. :P
       
Post is unread #8 Mar 10, 2006, 2:08 pm   Last edited Mar 10, 2006, 2:27 pm by Halcyon
Go to the top of the page
Go to the bottom of the page

Halcyon
Magician
GroupMembers
Posts187
JoinedApr 12, 2005

I aborted the hell out of the test suite. The rate it was going, I could've been there for days.

Good news, though... Installed GCC-4.1.0 with no problems. Compiling SWR 1.2 FUSS, however, is another issue, which I'll be making a post about any minute. Smaug FUSS 1.7 seems to be okay, though. FotE has the same problem SWR does, posting fix.
       
Pages:<< prev 1 next >>