[MacPorts] #34896: Running GCC46

MacPorts noreply at macports.org
Sun Jun 17 03:02:14 PDT 2012


#34896: Running GCC46
---------------------------------------+------------------------------------
  Reporter:  americancafe@…            |       Owner:  markd@…           
      Type:  request                   |      Status:  closed            
  Priority:  Normal                    |   Milestone:                    
 Component:  ports                     |     Version:  2.1.1             
Resolution:  invalid                   |    Keywords:                    
      Port:  gcc46                     |  
---------------------------------------+------------------------------------
Changes (by cal@…):

  * status:  new => closed
  * resolution:  => invalid
  * component:  guide => ports
  * port:  => gcc46


Comment:

 See `port contents gcc46` for a list of files the port installed. On my
 system this lists the binaries to run for gcc46:

 {{{
 :) clemens at cSchlepptop:~$ port contents gcc46 | head -n7
 Port gcc46 contains:
   /opt/local/bin/c++-mp-4.6
   /opt/local/bin/cpp-mp-4.6
   /opt/local/bin/g++-mp-4.6
   /opt/local/bin/gcc-mp-4.6
   /opt/local/bin/gcov-mp-4.6
   /opt/local/bin/gfortran-mp-4.6
 }}}

 There's also the `port select` mechanism as described in `man 1 port`,
 section `USER TARGETS`, subsection `select` that would allow you to run
 `gcc` and get the macports gcc 4.6. You would probably want to run `sudo
 port select --set gcc mp-gcc46` for that.

 This is not a bug in MacPorts. Trac is for bug reports. For support,
 please write to the [http://www.macports.org/contact.php#Lists MacPorts
 Users mailing list].

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


More information about the macports-tickets mailing list