Skip to content
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

[gcc] Enable gcc-go frontend and libraries. Fixes JB#62943 #8

Draft
wants to merge 8 commits into
base: test
Choose a base branch
from

Conversation

direc85
Copy link
Contributor

@direc85 direc85 commented Dec 11, 2024

Note: GCC 13

GCC 13 gccgo fully implements Go 1.18 standard library. This builds Go 1.21 which builds Go 1.23 - i.e. the latest version at the time of writing.

This PR is basically a carbon copy of #7 with some more cleanup.

  • Restore missing pieces in .spec file
  • Enable gcc-go with build_go 1
  • Fix a few things here and there

This branch is able to compile Go 1.21 successfully.

Since we don't use update-alternatives, make gcc-go always provide
symlinks to go and gofmt. Checks that such binaries don't yet exist.
This makes it possible to have gcc-go and go installed at the same time.
Some distros however make gcc-go and go mutually exclusive.
@direc85 direc85 self-assigned this Dec 11, 2024
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