Game Development Community

Sparc Solaris support in TGE?

by Mark Martin · in General Discussion · 11/05/2003 (5:12 am) · 2 replies

Does anyone know of the status of a Solaris port? There appears to be an "intention" of supporting Solaris, at least at the config makefile level. I am interested in getting the dedicated server portions running on Solaris 9/Sparc.

I have started to plough through the code, and am able to get all of the libraries built (not tested). I am stuck at the building of the OpenAL interfaces, as that library does not appear to have a Solaris/Sparc port.

Is ANYONE else working on this on Solaris?

About the author

Recent Threads


#1
11/05/2003 (5:59 am)
Mark,

I have a -I guess- working port of TGE (client -and- server) for Solaris/Sparc.
It is cleanly integrated and I am able to keep up with CVS very easily (my port is current with CVS HEAD as of Nov 5th). The client builds and starts but the only mission that actually loads without a segfault is 'test1.mis' but I am unable to figure out the last few bugs due to: lack of hardware (I need a $USD 2500 XVR-1200 video card) and lack of time at home.

Some screenshots:
step.polymtl.ca/~coyote/torque_solaris_20030520_01.jpg
step.polymtl.ca/~coyote/torque_solaris_20030520_02.jpg
step.polymtl.ca/~coyote/torque_solaris_20030520_03.jpg
step.polymtl.ca/~coyote/torque_solaris_20031031_01.jpg
step.polymtl.ca/~coyote/torque_solaris_20031031_02.jpg
step.polymtl.ca/~coyote/torque_solaris_20031031_03.jpg
step.polymtl.ca/~coyote/torque_solaris_20031031_04.jpg

If you are interested in having my Solaris/SPARC port, please tell me and I'm sure we'll figure out a way for me to send you my complete tarball. I'm currently building TGE on Solaris/Sparc with gcc-3.3.1 (used to with gcc-3.2.3), SDL-1.2.6 and Solaris 8.
Also, I have support in my Makefiles for Solaris/i86pc but I have not been able to test that. I am rather confident that it should work, though...


Oh and BTW, my port includes an OpenAL that works on Solaris/Sparc. My problem with OpenAL is the following:

1) OpenAL works under Solaris 8/Sparc with SDL sound backend and I have verified that it -does- produce sounds..

-but-

2) I have been unable to make TGE load my OpenAL library without crashing rapidly so I put that in the back burner until the last few client bugs are ironed out...

I'd like to know if it works under Solaris 9/Sparc as I don't currently use Solaris 9.. (I see no reason why it shouldn't).

Juste to give you a sneak preview:

vcojot@bt1ws02e:[~][502]$ ggrep -iC6 sparc .garagegames/torqueDemo/console.log
//-------------------------- 11/3/2003 -- 16:58:11 -----
Processor Init:
   SUNW,Ultra-5_10 System (1 CPUs Total), Processor 0 on-line, sparcv9 cpu, sparcv9 fpu, 333 Mhz

Math Init:
   Installing Standard C extensions
   Not Installing Assembly extensions

Input Init:

Don't hesitate to contact me,
Regards,

Vincent S. Cojot
#2
11/05/2003 (7:55 am)
Added value, binary sizes of the 'dynamic' executables:

user@wk:[/var/tmp/torque/engine/out.GCC3.DEBUG][527]$ ls -la *bin
-rwxr-xr-x   1 root     other    83323588 Nov  5 16:52 torqueDemo_DEBUG.bin
-rwxr-xr-x   1 root     other    78876092 Nov  5 16:37 torqueDemod_DEBUG.bin

Yes, that's 83MB for the DEBUG client.. :)

user@wk:[/var/tmp/torque/engine/out.GCC3.DEBUG][528]$ ldd torqueDemo_DEBUG.bin
        libGLU.so.1 =>   /usr/lib/libGLU.so.1
        libX11.so.4 =>   /usr/lib/libX11.so.4
        libXext.so.0 =>  /usr/lib/libXext.so.0
        libpthread.so.1 =>       /usr/lib/libpthread.so.1
        libdl.so.1 =>    /usr/lib/libdl.so.1
        libogg.so.0 =>   /usr/local/lib/libogg.so.0
        libvorbis.so.0 =>        /usr/local/lib/libvorbis.so.0
        libsocket.so.1 =>        /usr/lib/libsocket.so.1
        libnsl.so.1 =>   /usr/lib/libnsl.so.1
        libresolv.so.2 =>        /usr/lib/libresolv.so.2
        librt.so.1 =>    /usr/lib/librt.so.1
        libkstat.so.1 =>         /usr/lib/libkstat.so.1
        libm.so.1 =>     /usr/lib/libm.so.1
        0@0.so.1 =>      /usr/lib/0@0.so.1
        libc.so.1 =>     /usr/lib/libc.so.1
        libGL.so.1 =>    /usr/lib/libGL.so.1
        libintl.so.1 =>  /usr/lib/libintl.so.1
        libdga.so.1 =>   /usr/openwin/lib/libdga.so.1
        libmp.so.2 =>    /usr/lib/libmp.so.2
        libaio.so.1 =>   /usr/lib/libaio.so.1
        libXmu.so.4 =>   /usr/lib/libXmu.so.4
        libXt.so.4 =>    /usr/lib/libXt.so.4
        libSM.so.6 =>    /usr/lib/libSM.so.6
        libICE.so.6 =>   /usr/lib/libICE.so.6
        libthread.so.1 =>        /usr/lib/libthread.so.1
        /usr/platform/SUNW,Ultra-5_10/lib/libc_psr.so.1

user@wk:[/var/tmp/torque/engine/out.GCC3.DEBUG][529]$ ldd torqueDemod_DEBUG.bin
        libpthread.so.1 =>       /usr/lib/libpthread.so.1
        libdl.so.1 =>    /usr/lib/libdl.so.1
        libogg.so.0 =>   /usr/local/lib/libogg.so.0
        libvorbis.so.0 =>        /usr/local/lib/libvorbis.so.0
        libsocket.so.1 =>        /usr/lib/libsocket.so.1
        libnsl.so.1 =>   /usr/lib/libnsl.so.1
        libresolv.so.2 =>        /usr/lib/libresolv.so.2
        librt.so.1 =>    /usr/lib/librt.so.1
        libkstat.so.1 =>         /usr/lib/libkstat.so.1
        libm.so.1 =>     /usr/lib/libm.so.1
        0@0.so.1 =>      /usr/lib/0@0.so.1
        libc.so.1 =>     /usr/lib/libc.so.1
        libmp.so.2 =>    /usr/lib/libmp.so.2
        libaio.so.1 =>   /usr/lib/libaio.so.1
        libthread.so.1 =>        /usr/lib/libthread.so.1
        /usr/platform/SUNW,Ultra-5_10/lib/libc_psr.so.1