> I think that should already be the default. Try running ./libtool > --config and look for the value of CC. That value should match (modulo > whitespace) the command line that is actually used. > > Andreas.
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"