Closed fastcoding closed 4 years ago
Exports on windows are always a bit messy, you can attempt to force the linker to do this for you by passing the /EXPORT:symbolname
argument through to the linker, but I'm not sure if this will work.
Just tested, it works! This is an option provided by microsoft linker, that means clang will launch link.exe to do that job. thanks for your help.
Exports on windows are always a bit messy, you can attempt to force the linker to do this for you by passing the
/EXPORT:symbolname
argument through to the linker, but I'm not sure if this will work.
the codes below can produce dll, but cannot export test function.
dumpbin /exports test.dll ( no exports at all )