Ian,
Thanks for the clarification.
To confirm, setting go env CC=clang CXX=clang++, won't be effective for
-buildmode option.
On Thursday, 9 September 2021 at 05:23:45 UTC+5:30 Ian Lance Taylor wrote:
> On Wed, Sep 8, 2021 at 4:19 AM Thor Odinson
> wrote:
> >
> > I
)
Is it possible to compile the Go runtime without glibc dependency so I can
use the archive with clang toolchain without relying on gcc toolchain/glibc
?
On Wednesday, 8 September 2021 at 01:19:50 UTC+5:30 Ian Lance Taylor wrote:
> On Tue, Sep 7, 2021 at 9:25 AM Thor Odinson
> wrote:
>
I've built an executable file using Go compiler, but the target
environments loader expects the program sections to be in specific order
and fails to execute.
As a result, I'm trying to compile the Go source using 'go tool compile' to
generate object files, which I want to link using the clang