Linux dedicated server
by Kevin Johnson · in Torque Game Engine · 07/06/2004 (12:23 pm) · 2 replies
I'd like to set up a couple of test servers in the following weeks. My experience with linux is minimal to say the least. What I need to know is when compiling on linux can i just take my codebase (pretty much head with a few additions and the lighting pack) and just recompile it under gcc, or is there some porting i need to do?
#2
[mloftis@stalin HEAD-build]$ make -f mk/configure.mk
Current Configuration: this config is VALID
OS: LINUX
COMPILER: GCC3
BUILD: DEBUG
DIR.OBJ: out
To change the current configuration type:
make -f mk/configure.mk {arguments, ...}
required arguments:
OS={WIN32 BEOS LINUX OpenBSD FreeBSD Solaris}
COMPILER={CW6 VC6 GCC2 GCC3}
BUILD={DEBUG RELEASE}
optional arguments:
DIR.OBJ={path to store intermediate obj files}
Note: all arguments are case sensitive.
[mloftis@stalin HEAD-build]$
So on my env I run 'make -f mk/configure.mk OS=LINUX COMPILER=GCC3 BUILD=DEBUG' if you're using an older GCC you'll need to say GCC2 (gcc --version will tell you which) -- you may need other dev libraries and such in your environment.
HTH
Michael
07/22/2004 (11:22 pm)
Compiling under linux is pretty simple:[mloftis@stalin HEAD-build]$ make -f mk/configure.mk
Current Configuration: this config is VALID
OS: LINUX
COMPILER: GCC3
BUILD: DEBUG
DIR.OBJ: out
To change the current configuration type:
make -f mk/configure.mk {arguments, ...}
required arguments:
OS={WIN32 BEOS LINUX OpenBSD FreeBSD Solaris}
COMPILER={CW6 VC6 GCC2 GCC3}
BUILD={DEBUG RELEASE}
optional arguments:
DIR.OBJ={path to store intermediate obj files}
Note: all arguments are case sensitive.
[mloftis@stalin HEAD-build]$
So on my env I run 'make -f mk/configure.mk OS=LINUX COMPILER=GCC3 BUILD=DEBUG' if you're using an older GCC you'll need to say GCC2 (gcc --version will tell you which) -- you may need other dev libraries and such in your environment.
HTH
Michael
Torque Owner Stefan Lundmark