10000 gnu gcc builder script #686 by henderkes · Pull Request #727 · crazywhalecc/static-php-cli · GitHub
[go: up one dir, main page]

Skip to content

gnu gcc builder script #686 #727

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed

gnu gcc builder script #686 #727

wants to merge 1 commit into from

Conversation

henderkes
Copy link
Collaborator

What does this PR do?

#686

@henderkes
Copy link
Collaborator Author

Hmm. Instead of using our own gcc chain, we could also compile libgomp.a with spc. The only problem with this I see is that it would need to download the right version for the current compiler.

@henderkes
Copy link
Collaborator Author

And the second problem I see is that gcc is a massive download. And we need to download the full gcc tree to build libgomp (even though we don't need to build full gcc, just building libgomp is ok).

@henderkes
Copy link
Collaborator Author

#736

@henderkes
Copy link
Collaborator Author

It's doable that way, but I think using our own gcc toolchain, like we do for musl, is the better choice. that way we can explicitly support 1 compiler.

@crazywhalecc
Copy link
Owner
crazywhalecc commented Jun 14, 2025

It looks like we should add it to static-php-cli-hosted and docs. Maybe it would be better to change this PR to update the documentation part and implement the main script part in static-php-cli-hosted.

@henderkes
Copy link
Collaborator Author

Yes, this has no place being in spc, it should be treated the same way as the musl toolchain.

It would be nice if we could get gcc 15 to work instead, anyhow. I did compile it and successfully use it on my rhel 10 host, but had issues with >=11 in the centos 7 docker when I first tackled this.

@crazywhalecc crazywhalecc added the wontfix This will not be worked on label Jun 22, 2025
@henderkes henderkes closed this Jun 25, 2025
@henderkes
Copy link
Collaborator Author
7F20 henderkes commented Jun 25, 2025

looking to switch to zig for better cross compilation instead

@henderkes henderkes deleted the gcc-builder branch June 25, 2025 04:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0