[newbie] "linker input file unused because linking not done"?

Steve Kargl sgk@troutmask.apl.washington.edu
Fri Nov 25 22:06:00 GMT 2011


On Fri, Nov 25, 2011 at 04:56:25PM -0500, Tom Roche wrote:
> 
> I'm guessing that either I'm making an embarrassingly simple mistake
> (my background is nearly all with VMs and interpreters), or that the
> problem below is somehow related to my converting a build process
> accustomed to using icc/ifc to gcc/gfortran. In any case, I'm stumped:
> 
> I have a Makefile with
> 
> > FC     = gfortran
> > FFLAGS = -ffixed-line-length-132 -w -c

(snip)

> > gfortran -o runme <$FFLAGS expanded here/> runme.o

The expansion of FFLAGS include the -c from above. 
That tells the compiler to not link the objects together.

-- 
Steve



More information about the Fortran mailing list