Message board for the users of flat assembler.
> Programming Language Design > How does dynamic linking work in other "linkers" than FASM?
OK i know FASM is not a pure linker, but i wen't a bit out of space in the Title.
Given the following case, i have:
A.dll, exports Foo
B.dll, exports Foo
I want to link Bar.exe against both functions.
In FASM this is quite simple by specifying the IDATA-Section. However, how is this case resolved for linkers like in MSVC and LLVM? Those always need importlibraries(which you'd need to create on the fly if you don't have them).
Would you simply create 2 importlibraries on the fly for A/B which define aliases for the functions and use those aliases inside Bar.exe?
In the end, it ends in the IDATA-Section, too. But the route is different.
|20 Sep 2017, 06:24||
< Last Thread | Next Thread >
Copyright © 1999-2019, Tomasz Grysztar.
Powered by rwasa.