This is the mail archive of the libffi-discuss@sourceware.org mailing list for the libffi project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: No shared library under x86_64-w64-mingw32?


On 2/8/2012 3:08 PM, Luis Lavena wrote:
On Wed, Feb 1, 2012 at 8:31 PM, Luis Lavena<luislavena@gmail.com> wrote:
Hello,

I'm attempting to build libffi 3.0.10 with mingw64 compiler (4.6.1,
tdm64-1 build) using the following parameters:

sh configure --host=x86_64-w64-mingw32 --enable-shared

However, when installed, it results only in lib/libffi.a and libffi.la
with no shared object generated (dll) or implib for it (libffi.dll.a)

When build with normal TDM (mingw.org, GCC 4.6.2) it properly generate
the shared object.

Trying to figure out the reason for that, I'm missing something?


I think it's because we're missing -no-undefined in AM_LTLDFLAGS for x86_64-*-mingw*. Can you try hacking it into your configure script similar to how it is done for i?86-*-mingw*?

Thanks,

AG






Bump?

Thank you.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]