[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Shouldn't LTPPFCCOMPILE have --tag=FC?
From: |
Tom Epperly |
Subject: |
Shouldn't LTPPFCCOMPILE have --tag=FC? |
Date: |
Thu, 06 Nov 2008 09:30:03 -0800 |
User-agent: |
Mozilla-Thunderbird 2.0.0.17 (X11/20081018) |
LTPPF77COMPILE has "--tag=F77". Shouldn't LTPPFCCOMPILE have
"--tag=FC"? Otherwise, one ends up with something like:
> make[2]: Entering directory
> `/home/research/user/projects/facetsall/physics/uedge/serial/com'
> /usr/bin/python ../../ForthonToBabel/genbabel.py com ../../com/com.v
> gcc -E -traditional -DHAVE_CONFIG_H -I. -I../../com -I.. -I../../com
> -I../.. -I/contrib/babel/include/c -I/contrib/babel/include/cxx
> -I/contrib/babel/include/f90 \
> -P -o com_p.tmp -x c `test -f 'com_p.F90' || echo
> '../../com/'`com_p.F90
> sed -e 's/^#pragma.*$//' < com_p.tmp > com_p.f95
> /bin/sh ../libtool --mode=compile gfortran -DHAVE_CONFIG_H -I.
> -I../../com -I.. -I../../com -I../.. -I/contrib/babel/include/c
> -I/contrib/babel/include/cxx -I/contrib/babel/include/f90
> -fdefault-real-8 -fdefault-double-8 -ffixed-line-length-132 -c -o
> com_p.lo com_p.f95
> libtool: compile: unable to infer tagged configuration
> libtool: compile: specify a tag with `--tag'
automake --version
automake (GNU automake) 1.10.1
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv2+: GNU GPL version 2 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by Tom Tromey <address@hidden>
and Alexandre Duret-Lutz <address@hidden>.
Here is an excerpt from a generated Makefile.in:
LTPPF77COMPILE = $(LIBTOOL) --tag=F77 $(AM_LIBTOOLFLAGS) \
$(LIBTOOLFLAGS) --mode=compile $(F77) $(DEFS) \
$(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
$(AM_FFLAGS) $(FFLAGS)
F77LD = $(F77)
F77LINK = $(LIBTOOL) --tag=F77 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
--mode=link $(F77LD) $(AM_FFLAGS) $(FFLAGS) $(AM_LDFLAGS) \
$(LDFLAGS) -o $@
PPFCCOMPILE = $(FC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_FCFLAGS) $(FCFLAGS)
LTPPFCCOMPILE = $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
--mode=compile $(FC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_FCFLAGS) $(FCFLAGS)
- Shouldn't LTPPFCCOMPILE have --tag=FC?,
Tom Epperly <=