Gonzalo Tornaria wrote:

> What compiler will be used if gcc and g++ are not in the path?
> Presumably, this will only work if CC and CXX are set to proper
> compilers, right? Doesn't it make sense to:

>   4)  check for gcc and g++ except when CC and/or CXX are set, in
> which case, check for CC and CXX
> 
> ??

The variables CC and CXX are checked already in the configure script. It 
  checks if they are GNU, if so checks the version numbers of gcc and 
g++ match etc.

There is some redundacy here. Perhaps William wants to comment why.

1) There is a script 'prereq-0.4-install' which checks that make, ar, 
perl and a few others actually run.

2) There is a much more sophisticated 'configure' script which checks 
for version numbers.

It does appear to me there is some redundancy here. Checking twice for 
perl, make etc causes no problems, but the check for gcc does if one 
wishes to use a non-GNU compiler.


> I'm probably missing something... haven't looked at prereq in a while.
> 
> Best,
> Gonzalo

--~--~---------~--~----~------------~-------~--~----~
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
URL: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to