automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AM_FCFLAGS not working as I expect...


From: Ed Hartnett
Subject: Re: AM_FCFLAGS not working as I expect...
Date: Tue, 08 Nov 2005 06:43:43 -0700
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.4 (gnu/linux)

Ralf Wildenhues <address@hidden> writes:

> I forgot one thing: If you're trying to use libtool with the FC (Fortran
> 90/95) interface, you are likely to have to go through hoops with
> libtool-1.5.x, since it doesn't support it.  Current CVS Libtool, which
> will hopefully soon be Libtool-2.0, does support FC.

I am now using 1.5.20 everywhere, which is the most recent release, I
believe.

>
>> I am getting make distcheck working in the hopes that by doing so, I
>> might in some way fix my libtool problems on AIX.
>
> Show the issues, please.

Here it is, still can't get f95 code to compile...

Making all in f90
make[2]: Entering directory `/home/bluesky/edh/netcdf-3/f90'
/bin/sh ../libtool --mode=compile xlf90 -I../libsrc -I. -g -c -o
typeSizes.lo  typeSizes.f90
libtool: compile: unable to infer tagged configuration
libtool: compile: specify a tag with `--tag'
make[2]: *** [typeSizes.lo] Error 1
make[2]: Leaving directory `/home/bluesky/edh/netcdf-3/f90'

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.

Thanks,

Ed

-- 
Ed Hartnett  -- address@hidden





reply via email to

[Prev in Thread] Current Thread [Next in Thread]