This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: AC_LIBTOOL_WIN32_DLL for libgfortran
- From: Brian Dessent <brian at dessent dot net>
- To: FX Coudert <fxcoudert at gmail dot com>
- Cc: GCC Development <gcc at gcc dot gnu dot org>
- Date: Sat, 10 Mar 2007 14:49:07 -0800
- Subject: Re: AC_LIBTOOL_WIN32_DLL for libgfortran
- References: <7112604E-D416-45E3-BE82-03E31B777A91@gmail.com>
- Reply-to: GCC Development <gcc at gcc dot gnu dot org>
FX Coudert wrote:
> I tried adding AC_LIBTOOL_WIN32_DLL to configure.ac (just before
> AM_PROG_LIBTOOL) and -no-undefined to libgfortran_la_LDFLAGS, as is
> indicated in the autobook and other online resources. but configure
> (on a cross-compiler from i686-linux to i386-pc-mingw32) still says:
Did you put it in the toplevel configure.in or in
libgfortran/configure.ac? I suspect it needs to be in the former,
because the latter probably shares the same config.cache and thus it
won't be checked a second time when running configure for libgfortran.
In any case, I think efforts would be better spent helping get a modern
libtool into the tree, since the one there now is ancient and I wouldn't
be surprised if the mingw/cygwin-specific parts have bitrotted from
years of neglect. For example, this AC_LIBTOOL_WIN32_DLL macro was
removed/deprecated from libtool three years ago.
Brian