On Saturday, January 12, 2013 6:18:08 PM UTC, Jeroen Demeyer wrote:

> >   * replace /usr/include with $SAGE_ROOT/local/include 
> It's already there in the include path. 
>

Yes but gcc has 
local/lib/gcc/x86_64-apple-darwin10.8.0/4.6.3/include-fixed/ 
after  $SAGE_ROOT/local/include. The fixed limit.h ends with #include_next 
<limit.h> which only searches in the include paths further down.

Of course we could name the directory it differently, 
$SAGE_ROOT/local/include/platform-headers or so.
 

> > A quick grep of gcc's include-fixed directory suggests that limits.h is 
> > the only header required 
> That would be very surprising.  Is stdio.h for example included by 
> default on OS X systems without XCode? 
>

Oh ok, stdio.h doesn't get fixed so it doesn't occur in include-fixed. 
Still, I only see following #include-next statements 
for stdio.h, string.h, unistd.h, stdint.h, limits.h.

Somebody with a Mac without xcode should try to copy just those headers 
into /usr/include and figure out which other headers are needed...


 

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
Visit this group at http://groups.google.com/group/sage-support?hl=en.


Reply via email to