feat: add retro68-coreutils, a coreutils rewrite for classic Mac OS - #71
Closed
felipedbene wants to merge 1 commit into
Closed
feat: add retro68-coreutils, a coreutils rewrite for classic Mac OS#71felipedbene wants to merge 1 commit into
felipedbene wants to merge 1 commit into
Conversation
Clean-room rewrite of a 22-tool subset of GNU coreutils targeting System 7 through Mac OS 9, cross-compiled with Retro68 (68K and PowerPC). Utilities are written against a small compat layer (gucompat.h) with two backends: the HFS File Manager / Toolbox for classic Mac OS, and POSIX for host-side development and CI. Mac-native behavior: HFS colon paths, CR/LF/CRLF-aware text handling, resource fork + Finder info preservation in cp/mv, invisible files in ls -a, type/creator codes and fork sizes in ls -l, Gestalt-based uname, and an argument prompt since classic Mac OS has no shell. Includes a host Makefile with a 55-check test suite and a GitHub Actions workflow that builds and tests the host target. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017qFZHMRH9Q4Lp4rX7xMyN4
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Clean-room rewrite of a 22-tool subset of GNU coreutils targeting
System 7 through Mac OS 9, cross-compiled with Retro68 (68K and
PowerPC). Utilities are written against a small compat layer
(gucompat.h) with two backends: the HFS File Manager / Toolbox for
classic Mac OS, and POSIX for host-side development and CI.
Mac-native behavior: HFS colon paths, CR/LF/CRLF-aware text handling,
resource fork + Finder info preservation in cp/mv, invisible files in
ls -a, type/creator codes and fork sizes in ls -l, Gestalt-based
uname, and an argument prompt since classic Mac OS has no shell.
Includes a host Makefile with a 55-check test suite and a GitHub
Actions workflow that builds and tests the host target.
Co-Authored-By: Claude Fable 5 noreply@anthropic.com
Claude-Session: https://claude.ai/code/session_017qFZHMRH9Q4Lp4rX7xMyN4