#12369: Add a gcc package
------------------------+---------------------------------------------------
Reporter: jdemeyer | Owner: tbd
Type: task | Status: new
Priority: major | Milestone: sage-5.0
Component: packages | Keywords:
Work_issues: | Upstream: N/A
Reviewer: | Author: Jeroen Demeyer
Merged: | Dependencies: #11073, #10492, #12366, #12367,
#12368, #12405, #12416, #11967, #12423, #12425, #12456, #12363, #12223, #12515,
#12519, #12548, #12562
------------------------+---------------------------------------------------
Comment(by drkirkby):
There needs to be a couple of changes for Solaris - in particular, the
ability to specify the assembler and linker to be used, since the Sun
assembler is not suitable for gcc on x86, So when configuring gcc, one
might specify
{{{
--with-gnu-as --with-as=/usr/local/binutils-2.20/bin/as --without-gnu-ld
--with-ld=/usr/ccs/bin/ld
}}}
The above specifies the GNU assembler is used, where it is, the Sun linker
is used, and where it is. I'd suggest we have environment variables to
specify the locations of the linker and assembler. (Perhaps
'''SAGE_PATH_TO_ASSEMBLER''' and '''SAGE_PATH_TO_LINKER''' or something
similar). I suspect this could be useful sometimes on Linux too, as people
might have more than one copy of the assembler and/or linker present.
Although I personally always specify {{{--with-gnu-as}}} or {{{--without-
gnu-as}}], and similar for the linker, I don't think this is strictly
necessary, as the gcc configure script will determine if linker and
assembler specified are the GNU ones or not.
Do you want a patch on another ticket, or this one?
Dave
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12369#comment:80>
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.