#10572: compiler/binutils wrapper
----------------------------+-----------------------------------------------
   Reporter:  vbraun        |       Owner:  GeorgSWeber                    
       Type:  enhancement   |      Status:  needs_review                   
   Priority:  major         |   Milestone:  sage-4.7                       
  Component:  build         |    Keywords:  compiler gcc wrapper rpath spkg
     Author:  Volker Braun  |    Upstream:  N/A                            
   Reviewer:                |      Merged:                                 
Work_issues:                |  
----------------------------+-----------------------------------------------
Changes (by vbraun):

  * keywords:  gcc wrapper rpath gccwrapper spkg => compiler gcc wrapper
               rpath spkg
  * status:  needs_work => needs_review
  * milestone:  sage-4.6.2 => sage-4.7


Old description:

> This ticket aims to implement a gcc wrapper that will suitably modify
> gcc/ld/... arguments before passing them on to the underlying compiler
> binaries. The most current version is at:
>
> https://bitbucket.org/vbraun/gcc-wrapper
>
> and a spkg is here:
>
> http://www.stp.dias.ie/~vbraun/Sage/spkg/gccwrapper-1.0.spkg
>
> Documentation is at
>
> http://www.stp.dias.ie/~vbraun/Sage/gccwrapper/gccwrapper.html
>
> The wrapper is implemented in pure C++ and does not depend on any Sage
> component.

New description:

 This ticket aims to implement a compiler wrapper that will suitably modify
 gcc/ld/... arguments before passing them on to the underlying compiler
 binaries. The most current version is at:

 https://bitbucket.org/vbraun/compilerwrapper

 and a spkg is here:

 http://www.stp.dias.ie/~vbraun/Sage/spkg/compilerwrapper-1.0.spkg

 The wrapper is implemented in pure C++ and does not depend on any Sage
 component. At the moment it only wraps gcc and does not do anything for
 other compilers.

--

Comment:

 I've renamed it to "compilerwrapper" to be more inclusive. Now it only
 installs the symlinks / translates options if the wrapper was built with
 gcc (and hence wraps gcc). If we ever add support for another compiler, it
 would then simply install its own (different) set of symlinks. I built the
 compilerwrapper spkg on mark/skynet with Sun Studio by setting CC=cc and
 CXX=CC and it works as expected (i.e. wraps nothing).

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10572#comment:22>
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