Skip to content

Update prepare.sh - #140

Merged
sharkwouter merged 1 commit into
pspdev:masterfrom
dogo:patch-1
May 10, 2026
Merged

sharkwouter merged 1 commit into
pspdev:masterfrom
dogo:patch-1

Conversation

@dogo

@dogo dogo commented May 10, 2026

Copy link
Copy Markdown
Contributor

Fix macOS dyld error when running psp-gcc.

The compiler backend cc1 was failing because it expected libmpc.3.dylib under the Homebrew Apple Silicon prefix:

dyld: Library not loaded: /opt/homebrew/opt/libmpc/lib/libmpc.3.dylib
  Referenced from: <pspdev>/libexec/gcc/psp/15.2.0/cc1
  Reason: tried: '/opt/homebrew/opt/libmpc/lib/libmpc.3.dylib' (no such file)
psp-gcc: internal compiler error: Abort trap: 6 signal terminated program cc1

This updates the macOS dependency setup so the toolchain can find the required Homebrew runtime library.

Add missing libmpc to macOS

@sharkwouter sharkwouter left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! This looks good :)

@sharkwouter
sharkwouter merged commit 681088f into pspdev:master May 10, 2026
6 of 7 checks passed
@dogo
dogo deleted the patch-1 branch May 10, 2026 09:23
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.

2 participants