goenv icon indicating copy to clipboard operation
goenv copied to clipboard

Build from source

Open arkhan opened this issue 2 years ago • 2 comments

Greetings, there is the possibility of being able to compile from the source code each version of Go to be installed, I am currently using Guix, and when trying to use a version of Go for a project you cannot execute the binaries downloaded

image

Thanks

arkhan avatar Feb 02 '23 14:02 arkhan

There has been some discussion around this; it would introduce a dependency on gcc as well as any other compile tools necessary as each OS flavor comes with its own version.

EDIT: see https://github.com/syndbg/goenv/issues/106#issuecomment-1312132864

ChronosMasterOfAllTime avatar Feb 19 '23 05:02 ChronosMasterOfAllTime

I'd vote for the ability to opt in to compile from source.

You can always do it manually, though, and symlink the build in the source tree with a symlink in ~/.goenv/versions.

gl-yziquel avatar May 27 '24 16:05 gl-yziquel