I've known of people that felt particularly daring and attempted to use
WINE, but that adds a level of dependency that might not be available on
every Linux server you install on. For my game servers, I don't even
bother installing WINE.

For my own mod, which uses INI files for configuration options, I use to
have the native Win32 calls handle it. Once I got to Linux, I had to
write my own INI file parser so that it'd work.

Just be sure that, when it comes to the server, do not write code that
is platform dependent; it's good programming practice to make any
application platform independent regardless. On the client you can do
whatever you want, but the server needs to be more flexible.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of botman
Sent: Monday, February 25, 2002 7:29 AM
To: [EMAIL PROTECTED]
Subject: Re: [hlcoders] LOL


> is there any rules when compiling on linux. does botman have a faq or
> something?

You make things simplest for yourself by not using any C++ streams (no
cout or cerr output).  Also make sure you aren't using Windows API stuff
(like time functions, etc.).  If you aren't sure whether functions are
available under Unix/Linux, just use the man pages on Linux to see if a
function exists (i.e. "man strcpy").  Take a look at the Makefile for
building the SDK on Linux as an example of compiler switches and linker
options when building the Linux shared library.

There is no "tutorial" for building on Linux other than looking at the
Makefile.

Jeffrey "botman" Broome

_______________________________________________
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