It does not look like this is the default.  I don't see any use of --tag
in the libtool config output (nor do I see where the -MD, -MP, -MF flags
are coming from).

Steve Ellcey
[EMAIL PROTECTED]


% ./libtool --config | grep -e LT -e CC -e tag

LTCC="/proj/opensrc/sje/svn.libtool/build-ia64-hp-hpux11.23-trunk/obj_gcc/./gcc/xgcc 
-B/proj/opensrc/sje/svn.libtool/build-ia64-hp-hpux11.23-trunk/obj_gcc/./gcc/ 
-B/proj/opensrc/sje/svn.libtool/gcc-ia64-hp-hpux11.23-trunk/ia64-hp-hpux11.23/bin/ 
-B/proj/opensrc/sje/svn.libtool/gcc-ia64-hp-hpux11.23-trunk/ia64-hp-hpux11.23/lib/ 
-isystem 
/proj/opensrc/sje/svn.libtool/gcc-ia64-hp-hpux11.23-trunk/ia64-hp-hpux11.23/include 
-isystem 
/proj/opensrc/sje/svn.libtool/gcc-ia64-hp-hpux11.23-trunk/ia64-hp-hpux11.23/sys-include"
# LTCC compiler flags.
LTCFLAGS="-std=gnu99 -O2 -g  -Wunknown-pragmas"
variables_saved_for_relink="PATH LD_LIBRARY_PATH  GCC_EXEC_PREFIX COMPILER_PATH 
LIBRARY_PATH"
CC="/proj/opensrc/sje/svn.libtool/build-ia64-hp-hpux11.23-trunk/obj_gcc/./gcc/xgcc 
-B/proj/opensrc/sje/svn.libtool/build-ia64-hp-hpux11.23-trunk/obj_gcc/./gcc/ 
-B/proj/opensrc/sje/svn.libtool/gcc-ia64-hp-hpux11.23-trunk/ia64-hp-hpux11.23/bin/ 
-B/proj/opensrc/sje/svn.libtool/gcc-ia64-hp-hpux11.23-trunk/ia64-hp-hpux11.23/lib/ 
-isystem 
/proj/opensrc/sje/svn.libtool/gcc-ia64-hp-hpux11.23-trunk/ia64-hp-hpux11.23/include 
-isystem 
/proj/opensrc/sje/svn.libtool/gcc-ia64-hp-hpux11.23-trunk/ia64-hp-hpux11.23/sys-include"
archive_cmds="\$CC -shared \${wl}+h \${wl}\$soname \${wl}+nodefaultrpath -o \$lib 
\$libobjs \$deplibs \$compiler_flags"

The --tag option is added by automake-1.9 or automake-1.10, but not 1.8:

==== from automake-1.9 =====
            my $libtool_tag = '';
if ($lang->libtool_tag && exists $libtool_tags{$lang->libtool_tag})
              {
                $libtool_tag = '--tag=' . $lang->libtool_tag . ' '
              }

            my $obj_ltcompile =
              "\$(LIBTOOL) $libtool_tag--mode=compile $obj_compile";
==== from automake-1.9 =====


The -MD, -MP, -MF etc also come from automake (but only if FASTDEP), via am/depend2.am (since automake-1.7).

My guess is you that libgfortran's Makefile.in was created with an older (pre-1.9) version of automake.

--
Chuck




Reply via email to