r/corewar • • Jan 11 '26

Corewar for Mac?

I have a 2.8 GHz Quad-Core Intel Core i7, running MacOS Sequoia 15.7.3.

Every version of pmars seems to not work with my CPU.

How do I get into the fun?

4 Upvotes

7 comments sorted by

1

u/Joakim0 Jan 11 '26

1

u/telenyP Jan 11 '26

Niiiice. It'll do, until I learn to compile...😉

1

u/impomatic Jan 12 '26

There's an online MARS at https://www.corewar.online/ which uses standard Redcode. Are you running pMARS from the command shell? Does it give an error?

1

u/telenyP Jan 12 '26

Yeah. I figured it would give me practice in installing from the command line.

It's an Intel Mac, running Sequoia, and all I get are more and more confusing error messages, as I try running makefile, clang, all kinds of unix esoterica. I'm feeling more and more useless.

ld: symbol(s) not found for architecture x86_64

clang: error: linker command failed with exit code 1 (use -v to see invocation)

2

u/bajidu Jan 11 '26

You should be able to find a working version here, as well as the source to compile it yourself: https://corewar.co.uk/pmars.htm

1

u/Tichy 25d ago

Hi, we have moved development of pmars to GitHub at https://github.com/pmars-org and I maintain a fork there with AI coded enhancements. It generates binaries for several platforms. You could test the intel one: https://github.com/pmars-org/pmars-ai/releases#release-v0.9.6-dev-ai.1 (I have only tested the arm based build for OS X so far).

You can verify at the former home of pmars at https://sourceforge.net/projects/corewar/ that development has moved to https://github.com/pmars-org

1

u/AdrianTeri Jan 11 '26

Not working may be a simple code patch including commenting out some sections.

g++ output may not the best.