Skip to content

cpprhtn/CoreWar-Mac

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CoreWar-Mac

Legacy Code

This project is based on the legacy code from Core War on SourceForge.

Running on M1 Mac

To run the project on an M1 Mac, you need to set up an X11 environment by downloading XQuartz.

Adjusting X11 Path

After installing XQuartz, the X11 folder is typically located at a specific path. Make sure to update the path in the Makefile to match your environment.

CFLAGS += -I/opt/X11/include
LIB += -L/opt/X11/lib -lX11

Change Logs

  • round
    The round function has been included in the math.h header since the C99 standard.
    To avoid conflicts with the legacy code's round variable, the variable name has been changed to round_.

  • sighandler
    The sighandler function is no longer available as a built-in function in C99 and later standards.
    As a result, any lines containing this function have been commented out.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published