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. Contributes to JB#62642 #7

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

direc85
Copy link
Contributor

@direc85 direc85 commented Oct 15, 2024

First steps towards building the Go compiler. In GCC 10, gccgo fully implements Go 1.12.2. If needed later on, this also provides a path to build some older first-party Go compiler which can then build itself.

  • Restore missing pieces in .spec file
  • Enable gcc-go with build_go 1

This branch compiles, installs and builds a simple hello-world Go application. Tested in Platform SDK (i486) and on Xperia 10 III (aarch64).

@direc85 direc85 marked this pull request as draft October 15, 2024 12:19
@direc85 direc85 force-pushed the jb62642 branch 2 times, most recently from d7c7527 to 6aaade1 Compare October 15, 2024 16:36
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.
This assumes that Go packages them as regular files, not symlinks.
@direc85 direc85 marked this pull request as ready for review October 18, 2024 12:10
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