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

Reply via email to