#10572: gcc/binutils wrapper
----------------------------+-----------------------------------------------
   Reporter:  vbraun        |       Owner:  GeorgSWeber                      
       Type:  enhancement   |      Status:  needs_work                       
   Priority:  major         |   Milestone:  sage-4.6.2                       
  Component:  build         |    Keywords:  gcc wrapper rpath gccwrapper spkg
     Author:  Volker Braun  |    Upstream:  N/A                              
   Reviewer:                |      Merged:                                   
Work_issues:                |  
----------------------------+-----------------------------------------------

Comment(by jdemeyer):

 Sorry Dave, I spoke too soon.  Reading the source I do indeed see
 {{{
   switch (prog) {
   case WRAPPED_GCC:        cmd = path(GCC_PATH_PREFIX)/"gcc";  break;
   case WRAPPED_CC:         cmd = path(GCC_PATH_PREFIX)/"gcc";  break;
   case WRAPPED_C99:        cmd = path(GCC_PATH_PREFIX)/"c99";  break;
   case WRAPPED_C89:        cmd = path(GCC_PATH_PREFIX)/"c89";  break;
   case WRAPPED_CPLUSPLUS:  cmd = path(GCC_PATH_PREFIX)/"c++";  break;
   case WRAPPED_GPLUSPLUS:  cmd = path(GCC_PATH_PREFIX)/"g++";  break;
   case WRAPPED_LD:         cmd = path(LD_PATH_PREFIX)/"ld";    break;
   case WRAPPED_WRAPPER:
   default:
     assert(false); return;
   }
 }}}
 with a hardcoded `gcc` in there.

 I would use the autoconf-detected binaries for the compiler/linker there.
 But the idea of this ticket certainly gets a +1 from me.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10572#comment:18>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

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

Reply via email to