#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, #12367, #12368, 
#12405, #12570, #12574, #12423, #12425, #12456, #12363, #12223, #12515, #12519, 
#12548, #12562
------------------------+---------------------------------------------------

Comment(by drkirkby):

 Replying to [comment:85 jdemeyer]:
 > Replying to [comment:80 drkirkby]:
 > > the Sun assembler is not suitable for gcc on x86
 > I don't think this is true.  I found only one issue with `-pipe`
 (#12562).  Apart from that, Sage builds fine with the Sun assembler.
 >
 > Anyway, I fixed the GCC spkg to use the `AS` and `LD` environment
 variables as arguments for --with-as and --with-ld.

 IMHO, which is shared by the GCC documentation, the Sun assembler should
 be used, so unless AS is set, it would be wise to use /usr/ccs/bin/as. (On
 Solaris 11 and !OpenSolaris, there's a link to /usr/bin/as, but that's not
 true on  Solaris 10).

 http://gcc.gnu.org/install/specific.html#ix86-x-solaris210

 says on the Solaris x86 notes.

 ----
 ''It is recommended that you configure GCC to use the GNU assembler, in
 /usr/sfw/bin/gas. The versions included in Solaris 10, from GNU binutils
 2.15, and Solaris 11, from GNU binutils 2.19, work fine, although the
 current version, from GNU binutils 2.21, is known to work, too. Recent
 versions of the Sun assembler in /usr/ccs/bin/as work almost as well,
 though.''

 ''For linking, the Sun linker, is preferred.''

 It also says ''It may be necessary to configure with --without-gnu-ld
 --with-ld=/usr/ccs/bin/ld to guarantee use of Sun ld.''
 ------------

 I thought the configure script would work out the --without-gnu-ld, but it
 might be worth adding the option unless LD is set.

 I don't know what the status of t2.math is. William said he was going to
 switch it on a couple of weeks ago, but last time I looked it was down.
 Also, not sure about SkyNet.

 If we need a Solaris 11 x86 machine I have one. A bit limited in
 performance (pair of dual core 2.8 GHz Opterons and 8 GB RAM, but it is
 useable. It's running the latest release of Solaris 11. I really need to
 work out how to use the remote management on it, as it is very noisy, must
 be placed in the garage, but I don't know how to manage it properly on
 it's management port.



 Dave

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