libtool-patches
[Top][All Lists]
Advanced

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

Re: PIC flags not found for mpif77(ifort)


From: Ralf Wildenhues
Subject: Re: PIC flags not found for mpif77(ifort)
Date: Mon, 20 Dec 2010 08:00:45 +0100
User-agent: Mutt/1.5.20 (2010-08-04)

* Christian Rössel wrote on Fri, Dec 17, 2010 at 01:25:45PM CET:
> On 12/16/2010 09:54 PM, Ralf Wildenhues wrote:
> >
> > And now I wonder why you are having problems with 'mpif77 -f77=ifort'
> > because either it claims to be GNU (and then should accept -fPIC) or it
> > doesn't claim to be GNU (and then my proposed patch, including the fix
> > you spotted to double-quote the [CF]) should have worked.  Can you show
> > the config.log for the F77=mpif77 case that fails to detect the PIC flag?
> > Thanks.
> 
> I checked again and you are right, with the fixed patch it works out of
> the box. ifort 11.1 does not claim to be a GNU compiler (whereas icc and
> icpc do). I somehow mixed up the output of the different compilers as we
> use them all in our project. Sorry for the confusion.

Ah, cool.  I'm pushing the other patch then too.

The setting of $archive_cmds still needs fixes for both Intel and PGI
compilers too, and I think we should strive to remove duplicate entries
for compilers:  I'll post a followup cleanup patch.

Thanks,
Ralf



reply via email to

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