I found this, which worked without GOPATH assumptions:
https://blog.filippo.io/easy-windows-and-linux-cross-compilers-for-macos/
On Monday, 1 October 2018 at 7:32:23 pm UTC+10 Ankit Gupta wrote:
> Tamas,
>
> I installed docker on mac and cross compiled using xgo like you suggested.
> Worked per
Tamas,
I installed docker on mac and cross compiled using xgo like you suggested.
Worked perfectly. Thanks a lot!
On Saturday, September 29, 2018 at 1:58:20 AM UTC+5:30, Tamás Gulácsi wrote:
>
> 2018. szeptember 28., péntek 15:59:14 UTC+2 időpontban Ankit Gupta a
> következőt írta:
>>
>> Thanks
I've also found that multipass (https://github.com/CanonicalLtd/multipass)
works well for running Ubuntu on different platforms FWIW.
On Fri, 28 Sep 2018, 9:28 pm Tamás Gulácsi, wrote:
> 2018. szeptember 28., péntek 15:59:14 UTC+2 időpontban Ankit Gupta a
> következőt írta:
>>
>> Thanks Ian for
2018. szeptember 28., péntek 15:59:14 UTC+2 időpontban Ankit Gupta a
következőt írta:
>
> Thanks Ian for responding. Can you point me as to how to get the cross
> compiler. I am farely new to Mac.
>
> On Fri, 28 Sep 2018, 19:23 Ian Lance Taylor, > wrote:
>
>> On Fri, Sep 28, 2018 at 2:08 AM, Ank
On Fri, Sep 28, 2018 at 6:58 AM, Ankit Gupta
wrote:
> Thanks Ian for responding. Can you point me as to how to get the cross
> compiler. I am farely new to Mac.
Sorry, I don't use Macs at all.
Ian
> On Fri, 28 Sep 2018, 19:23 Ian Lance Taylor, wrote:
>>
>> On Fri, Sep 28, 2018 at 2:08 AM, Ank
Thanks Ian for responding. Can you point me as to how to get the cross
compiler. I am farely new to Mac.
On Fri, 28 Sep 2018, 19:23 Ian Lance Taylor, wrote:
> On Fri, Sep 28, 2018 at 2:08 AM, Ankit Gupta
> wrote:
> >
> > I am working with confluent-kafka-go library
> > (https://github.com/confl
On Fri, Sep 28, 2018 at 2:08 AM, Ankit Gupta
wrote:
>
> I am working with confluent-kafka-go library
> (https://github.com/confluentinc/confluent-kafka-go) which builds fine on
> the mac machine (mac OS 10.13.6) along with the code files I wrote. In order
> to deploy it on Linux server (Ubuntu 64
I am working with confluent-kafka-go library
(https://github.com/confluentinc/confluent-kafka-go) which builds fine on
the mac machine (mac OS 10.13.6) along with the code files I wrote. In
order to deploy it on Linux server (Ubuntu 64 bit), I try this -
$> CGO_ENABLED=1 GOOS=linux GOARCH=amd6