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: Andreas Schwab <schwab at suse dot de>
- To: sje at cup dot hp dot com
- Cc: fortran at gcc dot gnu dot org, gcc at gcc dot gnu dot org
- Date: Wed, 21 Mar 2007 17:53:59 +0100
- Subject: Re: libgfortran Makefile question (using latest libtool)
- References: <200703211543.IAA27655@hpsje.cup.hp.com>
Steve Ellcey <sje@cup.hp.com> writes:
> While attempting to build libgfortran with the latest libtool I got the
> following error:
>
> if /bin/sh ./libtool --mode=compile /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 -DHAVE_CONFIG_H -I. -I/proj/opensrc/sje/svn.libtool/src/trunk/libgfortran -I. -iquote/proj/opensrc/sje/svn.libtool/src/trunk/libgfortran/io -I/proj/opensrc/sje/svn.libtool/src/trunk/libgfortran/../gcc -I/proj/opensrc/sje/svn.libtool/src/trunk/libgfortran/../gcc/config -I../../.././gcc -D_GNU_SOURCE -std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings -O2 -g -mlp64 -MT backtrace.lo
-M
> D -MP -MF ".deps/backtrace.Tpo" -c -o backtrace.lo `test -f 'runtime/backtrace.c' || echo '/proj/opensrc/sje/svn.libtool/src/trunk/libgfortran/'`runtime/backtrace.c; \
> then mv -f ".deps/backtrace.Tpo" ".deps/backtrace.Plo"; else rm -f ".deps/backtr
> ace.Tpo"; exit 1; fi
> libtool: compile: unable to infer tagged configuration
> libtool: compile: specify a tag with `--tag'
> make[6]: *** [fmain.lo] Error 1
>
>
> Now, obviously, what I want to do is add --tag=CC to the libtool call.
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.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."