Skip to content

Fix build with the platform=x86 --no-clang combination - #35

Merged
slipher merged 3 commits into
masterfrom
slipher/i686-gcc
Jul 6, 2026
Merged

Fix build with the platform=x86 --no-clang combination#35
slipher merged 3 commits into
masterfrom
slipher/i686-gcc

Conversation

@slipher

@slipher slipher commented Jul 5, 2026

Copy link
Copy Markdown
Member

Fixes #23.

slipher added 3 commits July 5, 2026 01:03
This (on Debian anyway) does a better job of including the headers for
the target system, not the host system.
@illwieckz

Copy link
Copy Markdown
Member

Thanks a lot! ❤️

Comment thread SConstruct
ASFLAGS=[],
)
if env.Bit('clang'):
# TODO use --target=i386-linux-gnu or whetever?

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.

That would be a nice thing to use --target indeed, but that can be another PR.

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

Works for me on both Debian Bookworm and Trixie. LGTM!

Edit: I haven't tested if the built binary runs, but I tested it built.

@slipher
slipher merged commit 5e65be1 into master Jul 6, 2026
@slipher
slipher deleted the slipher/i686-gcc branch July 6, 2026 07:30
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.

Scons only builds the amd64 loader properly

2 participants