Skip to content
Prev 30706 / 63421 Next

Rtools28 - undefined references with gfortran

On Wed, 26 Nov 2008, John Nolan wrote:

            
libg2c.a, perhaps?
Give a reproducible example (or at least all the steps you used) : see the 
posting guide.

At a guess you are using gcc.exe to link Fortran code, not gfortran.exe. 
You can sometimes do that by adding -lgfortran to the link line.  But 
don't expect your helpers to be prepared to guess ....

  
    
Message-ID: <alpine.LFD.2.00.0812011230060.10803@gannet.stats.ox.ac.uk>
In-Reply-To: <OF6B6AE998.718395DA-ON8525750D.005F0106-8525750D.005F011D@american.edu>