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

[Feature Request] Support gccgo #94

Open
Zxilly opened this issue Sep 18, 2022 · 3 comments
Open

[Feature Request] Support gccgo #94

Zxilly opened this issue Sep 18, 2022 · 3 comments

Comments

@Zxilly
Copy link
Contributor

Zxilly commented Sep 18, 2022

No description provided.

@wangyoucao577
Copy link
Owner

wangyoucao577 commented Sep 24, 2022

Why need it? According to https://go.dev/doc/install/gccgo, the gccgo included go version generally too old, and seems not that useful.

@Zxilly
Copy link
Contributor Author

Zxilly commented Sep 24, 2022

https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=69921f4a7ec081c5b37dae13e3372003e4efd49f
It has already support Go 1.18 in gcc 12.

gccgo is a gcc front-end and therefore benefits from gcc, such as more architecture, better compile-time optimizations, and allows dynamic linking with libgo to significantly reduce the size of the compilation product.

@wangyoucao577
Copy link
Owner

Sounds good. Have you leveraged it in your project already?
I think it's not difficult to bring it in, what only need to do is build the latest gcc from source in docker.

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

No branches or pull requests

2 participants