Re: gfortran vs g77

From: Fons Rademakers <Fons.Rademakers_at_cern.ch>
Date: Wed, 17 Jan 2007 18:19:14 +0100


I've fixed this in config/Makefile.linux.

Cheers, Fons.

Roger Mason wrote:
> Hello Peter,
>
> Peter Skensved <peter_at_jay.phy.queensu.ca> writes:
>

>>> How do I enable gfortran?
>>>

>
>> 47,53c47,56
>> < F77           = g77
>> < F77FLAGS      = -fPIC
>> < ifneq ($(shell $(F77) -print-file-name=libg2c.so),libg2c.so)
>> < F77LIBS      := $(shell $(F77) -print-file-name=libg2c.so) -lnsl
>> < else
>> < F77LIBS      := $(shell $(F77) -print-file-name=libg2c.a) -lnsl
>> < endif
>> ---
>>> F77           = gfortran
>>> F77FLAGS      = -fPIC -std=legacy
>>> F77LIBS       = -lnsl
>>> F77LD         = gfortran
>>>
>>> #ifneq ($(shell $(F77) -print-file-name=libg2c.so),libg2c.so)
>>> #F77LIBS      := $(shell $(F77) -print-file-name=libg2c.so) -lnsl
>>> #else
>>> #F77LIBS      := $(shell $(F77) -print-file-name=libg2c.a) -lnsl
>>> #endif

>
> Yes, that seems to have worked, at least the configure step did not
> complain. I seem to have a problem with one of the demo programs
> crashing root, but I'll start another thread on that.
>
> Thanks for your help,
>
> Roger
>
-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland
E-Mail: Fons.Rademakers_at_cern.ch              Phone: +41 22 7679248
WWW:    http://fons.rademakers.org           Fax:   +41 22 7669640
Received on Wed Jan 17 2007 - 18:18:57 CET

This archive was generated by hypermail 2.2.0 : Tue Feb 06 2007 - 17:50:01 CET