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#62942 #7

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

Conversation

direc85
Copy link
Contributor

@direc85 direc85 commented Oct 15, 2024

Note: GCC 10

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 requested review from pvuorela and mlehtima October 15, 2024 05:25
@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
@direc85 direc85 marked this pull request as draft November 28, 2024 09:06
@direc85 direc85 changed the title [gcc] Enable gcc-go frontend and libraries. Contributes to JB#62642 [gcc] Enable gcc-go frontend and libraries. Fixes to JB#62942 Dec 11, 2024
@direc85
Copy link
Contributor Author

direc85 commented Dec 11, 2024

Split the original issue to JB#62942 and updated the PR title -- I'll update the commit comment iff this PR ends up being the one being merged.

@direc85 direc85 changed the title [gcc] Enable gcc-go frontend and libraries. Fixes to JB#62942 [gcc] Enable gcc-go frontend and libraries. Fixes JB#62942 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