On Mon, Aug 3, 2009 at 1:33 PM, Dr. David Kirkby<david.kir...@onetel.net> wrote:
>
> CC and CXX are set in Sage to default values if they are not specified.
>  The readme says:
>
> ---------------------------------------------
> NOTE: If you're using Fortran on a platform without g95 binaries included
>       with Sage, e.g., Itanium, you must use a system-wide gfortran.  You
>       have to explicitly tell the build process about the fortran
>       compiler and library location.  Do this by typing
>
>           export SAGE_FORTRAN=/exact/path/to/gfortran
>           export SAGE_FORTRAN_LIB=/path/to/fortran/libs/libgfortran.so
> -------------------------------------------------
>
>
> Is there supposed to be any way to specify Fortran flags?

There isn't such a way.

> Why is a
> default of gfortran not used, like it is with gcc and g++ ?

Because we wanted Sage to actually build on lots of computers and many
systemwide compilers would fail in weird ways.

>  Does anyone
> know why the location of the library needs to be given? One does not
> need to do it with C or C++.

Often there are other fortran libraries installed on the system, and
if one doesn't
explicitly specified it, then the wrong one can get linked in.

 -- William

>
>
> >
>



-- 
William Stein
Associate Professor of Mathematics
University of Washington
http://wstein.org

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to