On Jul 2, 10:47 pm, Peter Jeremy <[email protected]> wrote: > If gcc/gfortran are used, prereq-0.7 verifies that they are the same > version and aborts if they aren't. Is there a specific requirement > for this? As far as I can see, there is no interaction between the > C/C++ compiler and Fortran compiler output - in particular, > libgfortran has no dependencies on other gcc-specific libraries. > > This is an issue on FreeBSD where there is no Fortran compiler > installed by default and it is difficult to use a non-system C/C++ > compiler due to (known) compiler configuration issues. > > -- > Peter Jeremy
Making sure all 3 compilers tends to catch a lot of peoples mis- configured systems. Only a week or so ago someone had a Debian installation with non-matching versions, which had been mis- configured. Nine times out of ten, if someone had different versions of C, C++ and Fortran compilers, their systems are screwed up in some way. This tends to catch that problem. I can't see why you can't just build the same version of gfortran as you have of C and C++. If not, and you really feel there is a need to override it, the 'prereq' script could be alterered to permit non-matching versions if someone set an appropriate environment variable, though I think it might be more risky adding that, since most users who have non-mathing versions do have mis-configured systems. I know its possible to use non-GNU compilers if you set an appropriate variable. Dave -- To post to this group, send an email to [email protected] To unsubscribe from this group, send an email to [email protected] For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org
