[request] mac version of fteqcc

Discuss programming in the QuakeC language.
Post Reply
horrorporn
Posts: 29
Joined: Tue Sep 21, 2010 5:38 pm
Location: Australia

[request] mac version of fteqcc

Post by horrorporn »

I've been googling around for a build of fteqcc for snow leopard, but the binaries seem pretty thin on the ground, and the one I did find was built in 2005 and won't work on snow leopard. There's build instructions in the xonotic forums but I don't have the 8gb for the apple developer tools (os x doesn't have make without them) on my boot disk or the 10gb required to make a windows partition on this machine. :oops:

If anyone has bins, knows where to find them, or could build them for me I'd really appreciate it.
Spike
Posts: 2914
Joined: Fri Nov 05, 2004 3:12 am
Location: UK
Contact:

Post by Spike »

http://triptohell.info/moodles/unstable ... ger-fteqcc

one for tiger there... I would hope that its mostly compatible.
I don't know enough about macs, and don't have one myself, so can't really support it myself.
horrorporn
Posts: 29
Joined: Tue Sep 21, 2010 5:38 pm
Location: Australia

Post by horrorporn »

that one gives "permission denied" when I open it in the termial, and it's icon doesn't say that it's a unix executable :?

I found one that's supposed to be for leopard, but that always gives me a "could not open progs.src" error. To be honest I'm not that good at macs either.
Spike
Posts: 2914
Joined: Fri Nov 05, 2004 3:12 am
Location: UK
Contact:

Post by Spike »

looks like it would need a chmod +x foo


if its giving a 'could not open progs.src' error, then its running something.
It looks in the working directory for your progs.src, if it can't find that, it gives up. You can alternatively use -src /mysrcdir/foo to tell it to look elsewhere for the progs.src.
horrorporn
Posts: 29
Joined: Tue Sep 21, 2010 5:38 pm
Location: Australia

Post by horrorporn »

ok, got a progs1.06 to compile using the leopard version I found googling, for reference the version you linked me to gives the following error

Code: Select all

Illegal instruction
logout

[Process completed]
didn't know you had to change to the src directory before you ran the compiler, all the documentation was for the windows version and just said to put it in the src directory and run it.

thanks for the help!
Spike
Posts: 2914
Joined: Fri Nov 05, 2004 3:12 am
Location: UK
Contact:

Post by Spike »

windows typically uses the binary's location as the initial working directory (when using the gui anyway), hence why how it works in windows.
for commandline-based systems (dos/win command prompt/bash(linux/unix)) you can cd to your sourcedir then invoke it via the path, working directory, or symlink.

If your gui uses some other path for the working directory, you can probably make a shell script to fix that:
#!/bin/sh
cd /my/quake/dir/mod/src && ./path/to/fteqcc
Supposedly. I dunno, I don't use a mac!
toneddu2000
Posts: 1395
Joined: Tue Feb 24, 2009 4:39 pm
Location: Italy

Re: [request] mac version of fteqcc

Post by toneddu2000 »

sorry to bump this old thread but I tried today with the 2012 (i think it's the 2012 version, at least the date on the files tells so)mac version of fteqcc found here but it gave me the same error

Code: Select all

Illegal instruction
I have a 2009 macbook with SnowLeopard v 1.6.8
It would be handy to use my macbook without install the SLOW virtualbox + ubuntu just for compile quakec :)
Meadow Fun!! - my first commercial game, made with FTEQW game engine
Post Reply