#13913: Provide a "stripped" gcc 4.7.2 spkg
-------------------------------------+--------------------------------------
       Reporter:  jpflori            |         Owner:  tbd         
           Type:  enhancement        |        Status:  needs_review
       Priority:  major              |     Milestone:  sage-5.6    
      Component:  optional packages  |    Resolution:              
       Keywords:  spkg gcc           |   Work issues:              
Report Upstream:  N/A                |     Reviewers:              
        Authors:  Jean-Pierre Flori  |     Merged in:              
   Dependencies:                     |      Stopgaps:              
-------------------------------------+--------------------------------------

Comment (by jdemeyer):

 My spkg:
 [http://boxen.math.washington.edu/home/jdemeyer/spkg/gcc-4.7.2.p0.spkg]
 (also removed Link Time Optimization and Native Language Support).

 My `spkg-src` script (don't call it `spkg-dist` as that is really meant
 for scripts which create a spkg):
 {{{
 #!/bin/sh
 # Remove some unneeded pieces from GCC, after downloading and
 # extracting the sources and renaming the directory to src/.

 cd src || exit $?

 rm MD5SUMS
 rm -r maintainer-scripts

 # Remove zlib, since Sage already ships with zlib
 # and we build GCC with --with-system-zlib.
 rm -r zlib

 # Remove Native Language Support
 rm -r gcc/po libcpp/po

 # Remove support for Link Time Optimization
 rm -r lto-plugin

 # Remove all files for languages other than C, C++, Fortran.
 rm -r libada gnattools libgo libffi libjava boehm-gc libobjc
 cd gcc
 rm -r ada go java objc objcp testsuite
 }}}

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