[MacPorts] #31171: building gcc46 on osx lion fails

MacPorts noreply at macports.org
Mon Nov 14 19:30:16 PST 2011


#31171: building gcc46 on osx lion fails
------------------------------+---------------------------------------------
 Reporter:  okpail@…          |       Owner:  mww@…           
     Type:  defect            |      Status:  new             
 Priority:  Normal            |   Milestone:                  
Component:  ports             |     Version:                  
 Keywords:                    |        Port:  gcc46           
------------------------------+---------------------------------------------

Comment(by bradskins@…):

 Sorry about that mess. I followed the directions on this post:

 http://solarianprogrammer.com/2011/09/20/compiling-gcc-4-6-1-on-mac-osx-
 lion/

 With a couple changes:

 * I used gcc 4.6.2 instead of 4.6.1
 * The dependencies were installed using macports
 * All occurrences of $HOME/my_gcc were replaced with /opt/local
 * My --program-prefix="" and my --program-suffix=-mp-4.6

 After `make install` Macports can use gcc 4.6.2. Some advanced things that
 don't work quite right are:

 * Auto parallelization with Graphite
 * Basic auto parallelization with -ftree-parallelize-loops=n
 * Using march=corei7-avx

 Happy hacking!

 -brad

-- 
Ticket URL: <https://trac.macports.org/ticket/31171#comment:30>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list