Loading shared Libraries

"BREITH Karl-Albert (Framatome)" <[email protected]> Mon, 10 Oct 2022 04:41:59 +0000
Newsgroups gmane.comp.lang.smalltalk.vwnc
Message-ID <[email protected]>
I am trying to create a shared library (dll) on Windows 11 using cygwin64 and gcc.
The Smalltalk version I am using is 32-Bit VW9.2.

Whatever I tried, Smalltalk brings a primLoadLibrary error.

Does anybody know if there is something special to be done in cygwin64 to create a loadable dll (32bit) ?

Karl

This (the standard for me on normal Linux) does not work:

gcc -m32 -c -shared *.c
ld -melf_i386 -shared -symbolic -o lib.dll  *.o
---------------------------------------------------------
Karl Breith
[email protected]<mailto:[email protected]>