Opened 12 years ago

Closed 12 years ago

#34896 closed request (invalid)

Running GCC46

Reported by: americancafe@… Owned by: markd@…
Priority: Normal Milestone:
Component: ports Version: 2.1.1
Keywords: Cc:
Port: gcc46

Description

I really cannot find out where to send an email to you.

I am trying to install GCC46. The port says that it installed. I cannot find anywhere on the documentation how to activate GCC 4.6 (my mac still says that I have GCC 4.2.1

Change History (1)

comment:1 Changed 12 years ago by neverpanic (Clemens Lang)

Component: guideports
Port: gcc46 added
Resolution: invalid
Status: newclosed

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

:) clemens@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 MacPorts Users mailing list.

Note: See TracTickets for help on using tickets.