Actually, I've sucessfully compiled and run our mod under 3.4.4 with
Fedora Core 6 no problem at all. I have 4.1 and 3.4.4 happily running
side by side on the same box.

It's not 100% complete, but theres some notes on the process in my Wiki Sandbox.

http://developer.valvesoftware.com/wiki/User:Wunderboy/sandbox

- Jed

On 20/03/07, Ondřej Hošek <[EMAIL PROTECTED]> wrote:
(Transplanted from [hlds_linux]...)

Actually, GCC 3.4 and 4.x have the same ABI. The big change happened 3.3
-> 3.4. I don't know what Valve compiled their current engine versions
with (please tell), but is there a plan to move to one of these versions
(3.4, 4.0, 4.1)? What would the timeframe be?

You may wish to read about the ABIs at
http://gcc.gnu.org/onlinedocs/libstdc++/abi.html. It's the major version
(first number) of libstdc++.so that matters. Since GCC 3.4 (versions of
4.2 and 4.3 are not known yet), they're at major 6.

Oh... and here's a tip: DON'T add "-Wall -Werror -pedantic" to and
remove "-fpermissive" from the CCFLAGS. g++ will hate you. ;-)

~~ Ondra

Alfred Reynolds wrote:
> This question is better asked on the hlcoders list (subscribe via
> http://list.valvesoftware.com).  The reason you need to do it is because
> the Source engine is compiled with GCC 3.x and GCC 4.x binaries aren't
> binary compatible for the C++ ABI.
>
> - Alfred
>
> Dave Dodd wrote:
>
>> Hi,
>>
>> Can someone either point me towards discussion of why the linux_sdk
>> need to be compiled under GCC 3.?.?   I am trying to resolve a
>> problem with my Battlegrounds 2 server and I don't want to downgrade
>> my compiler from 4.1.1 .  I was able to compile a server under 4.1.1
>> by simply tweaking two source files lightglow.cpp & mathlib.cpp
>>
>> Anyone ?
>>
>> -- Dave
>>

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders


_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to