Linux compile with 2.60 SDK


(jaybird) #1

I see the method for compiling on Linux is a little changed. A couple questions about this:

Is this able to make cross-platform binaries (*nix, mac, and win32)?

How do we use the new scripts?


(EJ) #2

(jaybird) #3

Ha guess I should have read the readme first.


(jaybird) #4

The answer’s probably no, but I’m going to ask anyway. Is there any way to compile for Mac from Linux?


(SCDS_reyalP) #5

It seems there is not.

:moo:


(tjw) #6

You can use the ppc eumlator PearPC to run OSX / Darwin on Linux:

http://pearpc.sf.net


(bani) #7

you’d need to buy a copy of OSX though. since warezing it is illegal and apple’s eula says you can only run it on apple hardware anyway.

might as well buy a mac mini, pearpc is painfully slow even on the fastest machines.


(Calzonzin) #8

apple’s eula says you can only run it on apple hardware

LOL, you just re-convinced me to stay away from Apple stuf :slight_smile:


(deej) #9

Sorry for reviving an old thread. I have decided to abuse my free time and yours now by installing the SDK for 2.60 and see if I could tinker a bit with it. Now to make sure all things work I decided to follow the Readme and do a compile on the unmodified stuff with scons. It failed (otherwise I wouldn’t be posting here).

Here’s the specifics:

  • System is Fedora Core 4 with 2.6.12 SMP kernel on a PIV 2.8
  • gcc -v says this:
Using built-in specs.
Target: i386-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-libgcj-multifile --enable-languages=c,c++,objc,java,f95,ada --enable-java-awt=gtk --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --host=i386-redhat-linux
Thread model: posix
gcc version 4.0.1 20050727 (Red Hat 4.0.1-5)
  • running scons -c in /usr/local/games/enemy-territory-sdk/ says this:
scons: *** No SConstruct file found.
File "/usr/lib/scons/SCons/Script/__init__.py", line 870, in _main
  • appending – release gcc4 or – release gcc3 does not solve that :frowning:

Any idea what I should be looking for to solve this?


(deej) #10

stupid me!

chdir src
scons

This might be a little step for any coder, but it’s a big step for me :slight_smile:


(jaybird) #11

LoL. Glad you got it working ;]