[LLVMdev] [LLD] support for dlltool generated libs in COFF/PECOFF

Ivan Garramona heavenandhell171 at gmail.com
Sat Jul 25 04:43:50 PDT 2015


Hi Martell.

I too was trying to make the new COFF linker recognize the libraries
generated by binutils, but it wasn't resolving the DLLs, just like you
described. Apparently it is not identifying the libraries as import
libraries but archives.

For testing purposes, i've managed to make the old COFF linker work with a
simple test case. Had to make two little changes, and link the exe
manually, because the linker doesn't understand the GNU flags, but it
works. By the way, even the MS linker works with the binutils generated
import libraries.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150725/d12e9aa5/attachment.html>


More information about the llvm-dev mailing list