Skip to content

macOS patch - #707

Open
romancardenas wants to merge 2 commits into
tier4:mainfrom
romancardenas:macos-patch
Open

romancardenas wants to merge 2 commits into
tier4:mainfrom
romancardenas:macos-patch

Conversation

@romancardenas

Copy link
Copy Markdown

Description

When developing projects of x86 targets, macOS computers face two issues:

  • GCC is required, but Apple uses Clang instead (gcc is a symlink to clang).
  • For Apple Silicon computers, the Clang compiler targets aarch64 architectures.

This PR allows developers to point to an arbitrary GCC and LD. By default, values are gcc and ld (as of today).
However, now macOS users can point to a cross compiler that complies with x86 requirements.

I also included a brief documentation to help developers take advantage of this new feature.

How was this PR tested?

Tested on an Apple M2 Pro with macOS 26.6 and Ubuntu 24.04. In both systems, make qemu-x86_64 produces the expected output.

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