I'm using the MinGW compiler ...
If you follow the link I belatedly added to my response you'll see that dllexport is an MS specific extension. Presumably the __declspec() bit is a part of some standard otherwise you'd be getting an error.
Whether MinGW supports a similar extension I don't know. They can build .sos an .dlls so must have encountered similar problems.
I looked that up a while ago. There is mention in the pod for E::MM of a coniguration attribute DL_FUNCS which seems to be something to do with it.
See above:)
In reply to Re^3: [XS on Win32] How to have the extension's dll export its symbols.
by BrowserUk
in thread [XS on Win32] How to have the extension's dll export its symbols.
by syphilis
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |