This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: libgfortran Makefile question (using latest libtool)
- From: Steve Ellcey <sje at cup dot hp dot com>
- To: schwab at suse dot de
- Cc: fortran at gcc dot gnu dot org, gcc at gcc dot gnu dot org
- Date: Wed, 21 Mar 2007 10:10:29 -0700 (PDT)
- Subject: Re: libgfortran Makefile question (using latest libtool)
> 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
sje@cup.hp.com
% ./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"