gf builds on MacOS, but I don't have access to a Mac to verify it actually runs correctly. Would be great if someone could work on it.
To build on MacOS, you'll need to install XQuartz for X11 support:
# Install XQuartz (X11 for macOS)
brew install xquartz
# Log out and log back in (XQuartz requires this)
Then:
-
Clone and build:
git clone https://github.com/greg7mdp/gf.git
cd gf
cmake -Bbuild -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_COMPILER=clang++ -GNinja .
cmake --build build
-
Test it:
# Start XQuartz first
open -a XQuartz
# Then run gf
./build/gf --help
# Try debugging a simple program
./build/gf ./build/examples/calc
gfbuilds on MacOS, but I don't have access to a Mac to verify it actually runs correctly. Would be great if someone could work on it.To build on MacOS, you'll need to install XQuartz for X11 support:
Then:
Clone and build:
Test it: