I quote from my previous e-mail:
"Firstly, are there any hopes of the SDK source code being accessible
via the Linux Steam client too sometime, maybe as a "game" restricted to
HL2 buyers? I deduced from the readme file that this should be now
possible if a username and password is supplied.
"Secondly, I have been trying to port VBSP to Linux. Unfortunately,
there is one stone of the puzzle of actually being able to compile and
link it, and that's utils/common/threads.cpp. Currently, it seems that
only the Win32 threading system is included in the file, and since I
expect e.g. the Linux dedicated server supporting multiple threads and,
consequentially, Valve having a file with the pthread bindings
somewhere, I would like to politely ask the Valve employees who monitor
this list if they could include it in the upcoming SDK beta."
~~ Ondra Hosek
Alfred Reynolds wrote:
What pleas? We are working on an update to get the code base to compile under
VS.NET 2005, this should help with GCC 4.x also.
- Alfred
Ondrej Hošek wrote:
It went along the lines of "make it compile", "copy server_i486.so
over
to the server" and "./srcds_run". Purely trial-and-error. Seems like
the
ABI differences are minimal, if any. (I hope it'll stay that way for
the
next few versions.)
If Valve decides to move to GCC 4, I'm ready to trade a .diff file
for a "thank you" (and maybe the right to brag about having been
helpful ;-)).
As I said, I just need to try compiling with Microsoft's C++ compiler
first, since it's not my objective to destroy things for one group
just
to make them work for the other. (At least not in this case.)
Any chances of my two pleas having been heard by the "higher powers"?
Have a nice day,
~~ Ondra Hosek
Alfred Reynolds wrote:
The C++ ABI differs in GCC 4.x from GCC 3.x, last time I tried it
was not possible to run a mod compiled with 4.x (as C++ interfaces
are passed from it to our GCC 3.x compiled binaries). How did you
solve that?
- Alfred
Ondrej Hošek wrote:
Greetings to fellow list members,
Recently, I have managed to coerce the code released with the
Half-Life 2 SDK to compile on Linux with GCC 4.0.2 without
-fpermissive and with -Wall -Werror (both "mod" and "plugin"
targets). I will release this modified code later on after
incorporating the changes of the upcoming SDK beta and ensuring
that the code still compiles with Microsoft's C++ compiler.
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders