GCC version?
-
- ISO Party Member
- Posts: 453
- Joined: Sat Jul 30, 2005 10:21 am
GCC version?
Which GCC version is best for compiling CVS? In particular, which one do the main programmers use to compile their code?
I've been using 3.4, but just hit a snag on the latest CVS. I'll go back at it tonight and post here if I can't figure out what's wrong, but as I recall, if I compiled without any --enable-boost-* options, I got a segfault in g++ itself, and if I compiled with --enable-boost-128, I got a syntax error somewhere.
I'm happy enough to just use the "best" GCC for the job and leave the GCC-compatibility testing to others, since my own goal is to write and test the compiled code, not try to work around my compiler.
I've been using 3.4, but just hit a snag on the latest CVS. I'll go back at it tonight and post here if I can't figure out what's wrong, but as I recall, if I compiled without any --enable-boost-* options, I got a segfault in g++ itself, and if I compiled with --enable-boost-128, I got a syntax error somewhere.
I'm happy enough to just use the "best" GCC for the job and leave the GCC-compatibility testing to others, since my own goal is to write and test the compiled code, not try to work around my compiler.
-
- ISO Party Member
- Posts: 453
- Joined: Sat Jul 30, 2005 10:21 am
Okaaaay... it seems to be random or something. Sometimes I can build fine. Other times, I get segfaults.
The build log is pretty big, and phpBB won't let me attach files because the filename box has a maxlength=0, so the various logs are available here.
The build log is pretty big, and phpBB won't let me attach files because the filename box has a maxlength=0, so the various logs are available here.
-
- Elite
- Posts: 7243
- Joined: Mon Apr 18, 2005 2:40 pm
- Location: LS87, Buenos Aires, República Argentina
-
- Privateer
- Posts: 729
- Joined: Tue Jan 07, 2003 8:32 am
-
- ISO Party Member
- Posts: 453
- Joined: Sat Jul 30, 2005 10:21 am
-
- The Shepherd
- Posts: 5841
- Joined: Fri May 13, 2005 8:37 pm
- Location: Ottawa
- Contact:
Yeah
I got it to compile today to but when i run it it does not find the universe.xml file so it craps out witch means i don't have things in the right palces neah? So
any proters to right thresd to sort this out I whainn play!!
I'll keep fiddleing I may luck out if so I post.
I lucked out looks lusher like the new upgrade screen so now to play
So offline for now
Hope sourceforge speeds up soon 2 min to load a page is frustratinng
O well is their toy
Enjoy the Choice
any proters to right thresd to sort this out I whainn play!!
I'll keep fiddleing I may luck out if so I post.
I lucked out looks lusher like the new upgrade screen so now to play
So offline for now
Hope sourceforge speeds up soon 2 min to load a page is frustratinng
O well is their toy
Enjoy the Choice
-
- Artisan
- Posts: 1270
- Joined: Fri Jan 03, 2003 3:27 am
- Location: Perth, Western Australia
- Contact:
-
- ISO Party Member
- Posts: 453
- Joined: Sat Jul 30, 2005 10:21 am
Or just hard-code it with --with-data-dir at build time like I do.
BTW, GCC 4 works fine, yes. Hopefully, with GCC 4, optimisations, and -march=i686, I should get eveen better performance.
Is there a reason we don't use -O3 for --enable-release? Does it break something? I'll try building with it once I'm done building my just-in-case debug version (in the background while I play, of course).
BTW, GCC 4 works fine, yes. Hopefully, with GCC 4, optimisations, and -march=i686, I should get eveen better performance.
Is there a reason we don't use -O3 for --enable-release? Does it break something? I'll try building with it once I'm done building my just-in-case debug version (in the background while I play, of course).
-
- Privateer
- Posts: 729
- Joined: Tue Jan 07, 2003 8:32 am
My observations are very informal of course[/disclaimer] FPS was higher with ICC, until a lot of polys (like a refinery) started appearing on screen, when it dropped pretty bad. It was enough to be noticeable, so I wasn't really too impressed.Wisq wrote:How does the GCC-build versus ICC-build performance stack up? I heard GCC4 was almost on par with ICC, and that was a year ago.
Add to that the 8x as long to compile (at least) and it wasn't really worth it for me.