Great! It works!
May I post your answer (also giving the credits) on stack overflow?

Thank you!
Luis Otavio
Em domingo, 21 de fevereiro de 2021 às 15:32:47 UTC-3, ma...@eliasnaur.com 
escreveu:

> On Sunday, 21 February 2021 at 19:08:16 UTC+1 Luis Furquim wrote:
>
>>
>> That seems to me that when I set GOARCH=386 it disables CGO, silently 
>> ignoring any code that references to C symbols.
>>
>>
>>
> Go disables Cgo when cross-compiling (GOARCH is different from your native 
> GOARCH). You can enable Cgo manually with CGO_ENABLED=1.
>
> Elias
>  
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/43d1616c-af57-4ca9-ab17-ba2ca698185bn%40googlegroups.com.

Reply via email to