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

Closed
wants to merge 4 commits into 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
@direc85
Copy link
Contributor Author

direc85 commented Jan 2, 2025

I pushed this back to the "initial" GCC13 rebase. The attempt to rename the packages is branched off here.

@mlehtima
Copy link
Contributor

mlehtima commented Jan 8, 2025

These change have been added to a new update13 branch.

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