Quantcast
Channel: Active questions tagged gcc - Stack Overflow
Viewing all articles
Browse latest Browse all 22006

Export C function name to DLL/SO with special chars using Gcc

$
0
0

Is there any way to export a function to a shared library using special characters with Gcc in a native manner without ad hoc data structure?

For example, I need to export "LibraryExportFunc" with the name"library-export-func" and then read back by another program using dlopen/dlsym.

Thank you


Viewing all articles
Browse latest Browse all 22006

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>