Enemy territory mod under freebsd!!


(freebsd04) #1

I am running freebsd 4.10 and gcc 2.95.4
I wanted to compile the ET source. So I experimented with it and as a test, tried to just compilie the source without really modifying it. After some trouble, I eventually managed to compile the original ET source under Freebsd.
Now the trouble is trying to get this compiled version working. It generates its .so files but won’t work, even after putting them in the modDir under the enemy-territory directory.
I am beginning to think that it can only be done under Linux or Win.
The question is

  • has anyone successfully got their compiled ET source working under FreeBSD??
  • if so… how???

OR any advice/ideas/pointers/suggestions?


(Rain) #2

You need to cross-compile the .sos for Linux and use FreeBSD’s Linux emulation (because the engine binary you’re using is a Linux binary.)


(freebsd04) #3

Thanks for the quick reply. I’ve tried to work this out myself, but I just don’t get it. Sorry, I’m a bit of a n00b. How would you go about doing that/ or is there a good place to read about how to do this. I’ve read a few pages on cross compiling and they just don’t make any sense.
Cheers


(Rain) #4

FBSD might have a separate copy of gcc that builds Linux binaries installed under the emulated root (where all the other Linux binaries/libraries live.) If it does, try using that instead.