Skip to content

Allow building with Clang without installing GCC#26

Open
slipher wants to merge 2 commits into
masterfrom
slipher/no-gcc
Open

Allow building with Clang without installing GCC#26
slipher wants to merge 2 commits into
masterfrom
slipher/no-gcc

Conversation

@slipher

@slipher slipher commented Jun 25, 2026

Copy link
Copy Markdown
Member

Stop using GCC -print-prog-name to locate the linker. So you only have to install GNU binutils to build with clang, not GCC.

slipher added 2 commits June 25, 2026 00:06
Now when building with Clang, you only have to install GNU binutils, not
the whole GCC.

@illwieckz illwieckz 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.

LGTM.

ld_emul = 'armelf_linux_eabi'
reserve_top = '0x40002000'
compiler_override = '--compiler arm-linux-gnueabihf-gcc'
compiler_override = '--compiler arm-linux-gnueabihf-g++'

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.

For reference this is done in CMake since maybe more than a year.

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