[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: libtool 2.2 - import library detection failure when cross compiling
From: |
Ralf Wildenhues |
Subject: |
Re: libtool 2.2 - import library detection failure when cross compiling to mingw32 |
Date: |
Thu, 13 Mar 2008 07:02:31 +0100 |
User-agent: |
Mutt/1.5.17+20080114 (2008-01-14) |
Hello Jakub,
Thanks for the bug report.
* Jakub Bogusz wrote on Wed, Mar 12, 2008 at 11:23:16PM CET:
>
> I noticed that libtool sometimes rejects to create shared library using -l...
> to link with some import libraries failing to recognize those import
> libraries as such.
>
> It happens if AC_CANONICAL_HOST is not issued before AC_PROG_LIBTOOL/LT_INIT
> - because libtool macros AC_REQUIRE([AC_CANONICAL_HOST]) _after_ processing
> LT_INIT options, and that's win32-dll LT_INIT option processing which
> calls AC_CHECK_TOOL for objdump, which is used to recognize type of ar
> archives.
>
> When AC_CHECK_TOOL is issued before AC_CANONICAL_HOST, instead of finding
> cross version of objdump it finds native (Linux/x86 in my case) objdump,
> which can't recognize archive which contains PE objects.
Can you post a (preferably small) example that exposes this, plus the
error output you see? If the example is large, then post a link to it.
This should have a testsuite test addition so we don't regress in the
future.
Thanks,
Ralf
- libtool 2.2 - import library detection failure when cross compiling to mingw32, Jakub Bogusz, 2008/03/12
- Re: libtool 2.2 - import library detection failure when cross compiling to mingw32,
Ralf Wildenhues <=
- Re: libtool 2.2 - import library detection failure when cross compiling to mingw32, Jakub Bogusz, 2008/03/14
- LIBTOOL_DEPS wrong when AC_CANONICAL_BUILD not called before initializing libtool, Jakub Bogusz, 2008/03/14
- Re: LIBTOOL_DEPS wrong when AC_CANONICAL_BUILD not called before initializing libtool, Ralf Wildenhues, 2008/03/15
- Re: LIBTOOL_DEPS wrong when AC_CANONICAL_BUILD not called before initializing libtool, Jakub Bogusz, 2008/03/15
- Re: LIBTOOL_DEPS wrong when AC_CANONICAL_BUILD not called before initializing libtool, Ralf Wildenhues, 2008/03/15
- Re: LIBTOOL_DEPS wrong when AC_CANONICAL_BUILD not called before initializing libtool, Jakub Bogusz, 2008/03/22