[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: AM_FCFLAGS not working as I expect...
From: |
Albert Chin |
Subject: |
Re: AM_FCFLAGS not working as I expect... |
Date: |
Wed, 9 Nov 2005 13:29:47 -0600 |
User-agent: |
Mutt/1.5.6i |
On Wed, Nov 09, 2005 at 11:10:26AM -0700, Ed Hartnett wrote:
> Albert Chin <address@hidden> writes:
>
> > On Tue, Nov 08, 2005 at 06:43:43AM -0700, Ed Hartnett wrote:
> >> Ralf Wildenhues <address@hidden> writes:
>
> >> The Makefile.am does include:
> >>
> >> .f90.o:
> >> $(FCCOMPILE) -c -o $@ $(AM_FCFLAGS) $(FCFLAGS_f90) $<
> >>
> >> .f90.obj:
> >> $(FCCOMPILE) -c -o $@ $(AM_FCFLAGS) $(FCFLAGS_f90)
> >> `$(CYGPATH_W) '$<'`
> >>
> >> .f90.lo:
> >> $(LTFCCOMPILE) -c -o $@ $(FCFLAGS_f90) $<
> >>
> >> as you suggested. Unfortunately, that didn't seem to help libtools tag
> >> problem.
> >
> > If --tag=F77 works, add it to the above.
>
> But where? If I put it after $(LTFCCOMPILE) I get:
> /bin/sh ../libtool --mode=compile mpxlf_r -I../libsrc -I. -g --tag=F77 -c -o
> netcdf.lo netcdf.f90
> libtool: compile: unable to infer tagged configuration
> libtool: compile: specify a tag with `--tag'
> make: *** [netcdf.lo] Error 1
>
> It looks like it has to go inside LTFCCOMPILE. How do I do that?
See Ralf's email.
--
albert chin (address@hidden)