(OMG doublepost sorry!)

Oh, and...

$ strings srcds_i686 | grep libstdc++
[...]
/home/alfred/src/gcc-3.4.1/libstdc++-v3/../gcc
[...]
[more paths with gcc-3.4.1 in them]

~~ Ondra

Alfred Reynolds wrote:
We are using GCC 3.3 and have no upgrade plans at the moment (upgrading would 
break all existing mods so it would be a rare event if it ever happens).

- Alfred

Ondrej Hošek 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

Reply via email to