Skip to content

Make it compile on Mac OS using clang - #3

Open
egrath wants to merge 1 commit into
MockbaTheBorg:mainfrom
egrath:main
Open

egrath wants to merge 1 commit into
MockbaTheBorg:mainfrom
egrath:main

Conversation

@egrath

@egrath egrath commented Sep 17, 2026 •

Copy link
Copy Markdown

To build RunVT without problems on Mac OS two things need to be changed:

  1. pty.h does not exist on Mac OS but instead uses util.h - solved with preprocessor conditional
  2. Garbage collection of unused sections (linker flag -Wl,--gc-sections) and stripping (linker flag -s) is not supported/deprecated on Mac OS and needs different flags - solved with a conditional in the Makefile

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant