Raised This Month: $100 Target: $400
 25% 

Recommended GCC version?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 06-05-2012 , 12:44   Recommended GCC version?
Reply With Quote #1

Hi guys,

I've been compiling my own SourceMod extensions for a while now. However, I've been using GCC 4.4 for Linux builds (and Visual Studio 2010 for Windows builds) to do it.

When reading the Metamod:Source Environment guide, I noticed it mentioned that GCC 4.1 was used for compiling, but it also mentions that the guide is for MM:S 1.7. What version of GCC is recommended for MM:S 1.8/1.9?
__________________
Am I back? Well, we'll see.

Last edited by Powerlord; 06-05-2012 at 12:44.
Powerlord is offline
psychonic

BAFFLED
Join Date: May 2008
Old 06-05-2012 , 12:52   Re: Recommended GCC version?
Reply With Quote #2

I don't know that it hugely matters.

SM used to use gcc 4.1 for compiling, likely at the time that was written. We currently use gcc 4.4 on linux and clang on mac.

I personally use gcc 4.4.5 now, and used to use gcc 3.4.1 with cygwin and crosstool, which I believe still works.

In general, the newer the version of gcc/clang that you use, the more warnings you'll have to fight in the sdk.

Last edited by psychonic; 06-05-2012 at 12:53.
psychonic is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 06-05-2012 , 14:08   Re: Recommended GCC version?
Reply With Quote #3

Quote:
Originally Posted by psychonic View Post
I don't know that it hugely matters.

SM used to use gcc 4.1 for compiling, likely at the time that was written. We currently use gcc 4.4 on linux and clang on mac.

I personally use gcc 4.4.5 now, and used to use gcc 3.4.1 with cygwin and crosstool, which I believe still works.

In general, the newer the version of gcc/clang that you use, the more warnings you'll have to fight in the sdk.
OK, good. I've been using GCC 4.4 on Linux.
__________________
Am I back? Well, we'll see.
Powerlord is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 22:29.


Powered by vBulletin®
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Theme made by Freecode