On Fri, Jan 14, 2022 at 9:30 AM Sven Anderson <s...@redhat.com> wrote:
>
>
> On Mon, Dec 27, 2021 at 1:17 AM Ian Lance Taylor <i...@golang.org> wrote:
>>
>> Loading multiple Go DLLs built with -buildmode=c-shared ought to work
>> on ELF based systems like Linux.  I don't know whether it will work on
>> Windows or macOS.
>
>
>  I have a related question on that topic:
>
> How about support for a Go program that can load C modules (with Cgo and 
> dlopen), and this module again is a Go c-shared library?
>
> I would have assumed that does not work, due to conflicting runtimes, and it 
> indeed crashes on my Mac. But after reading your statement here, I wonder if 
> it maybe is supported on ELF based systems?

I think that could work on ELF systems, but I haven't tried it.

Ian

-- 
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/CAOyqgcUpv0zcRUjuX3henOPaPwRJz_2M2pFAjEaT-GCN9pdA9A%40mail.gmail.com.

Reply via email to