This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
no DLL when compiling on Windows (mingw)
- From: Vincent Torri <vincent dot torri at gmail dot com>
- To: binutils at sourceware dot org
- Date: Sun, 14 Oct 2012 13:42:02 +0200
- Subject: no DLL when compiling on Windows (mingw)
Hello,
I'm on Win7 64 bits, trying to compile binutils with MSYS and
MinGW-w64 (targetting 64 bits). I've dowloaded the snapshot the
october the 14th.
opcode and libbfd DLL are not created. I think that the problem is
that -no-undefined is passed only for cygwin (bfd/configure.in, line
557), and not for mingw.
something like:
mingw*)
SHARED_LDFLAGS="-no-undefined"
SHARED_LIBADD="-L`pwd`/../libiberty -liberty -L`pwd`/../intl
-lintl -lkernel32"
;;
should work.
not related: when using mingw-w64, should I pass
--enable-leading-mingw64-underscores ?
thank you
Vincent Torri