Compiler Problems?
Steve Kargl
sgk at troutmask.apl.washington.edu
Sun Sep 30 20:32:01 PDT 2007
On Mon, Oct 01, 2007 at 11:00:36AM +0900, Maho NAKATA wrote:
> Hi Thomas and Steve,
>
> Thanks for your clarification. I rewrote this port completely and
> update to 3.1.1. Now at least dlamch/slamch are build with -O0.
> Hope now it works well. I haven't tried yet with g77 and may not work with it.
>
> % cd /usr/ports/math/lapack
> % rm -rf work ; make > & log &
> % grep slamch.f log
> gfortran42 -O0 -c slamch.f -o slamch.o
> gfortran42 -O0 -fpic -c slamch.f -o slamch.o
> gfortran42 -O0 -pg -c slamch.f -o slamch.o
>
Thanks.
I certain that it will work fine with g77. This is a few decade
old issue with determining machine parameters for floating point
numbers in portable Fortran code.
--
Steve
More information about the freebsd-current
mailing list