[MacPorts] #36719: gcc47: static c++ standard library (libstdc++.a) not built

MacPorts noreply at macports.org
Wed Oct 24 15:37:41 PDT 2012


#36719: gcc47: static c++ standard library (libstdc++.a) not built
---------------------+-------------------
  Reporter:  bach@…  |      Owner:  mww@…
      Type:  defect  |     Status:  new
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:  2.1.2
Resolution:          |   Keywords:
      Port:  gcc47   |
---------------------+-------------------
Changes (by ryandesign@…):

 * keywords:  C++, static standard library =>
 * owner:  macports-tickets@… => mww@…


Old description:

> Hi there,
>
> on a freshly installed OSX 10.8.2, newly installed MacPorts, doing
>   sudo port install gcc47
>
> does not automatically build the C++ standard library. I see
>   /opt/local/lib/libstdc++.6.dylib
> but no
>   /opt/local/lib/libstdc++.a
> and this leads to the impossibility to create statically linked binaries
> with g++.
>
> How does it get built?
>
> Best,
>   B.

New description:

 Hi there,

 on a freshly installed OSX 10.8.2, newly installed MacPorts, doing
 {{{
   sudo port install gcc47
 }}}

 does not automatically build the C++ standard library. I see
   /opt/local/lib/libstdc++.6.dylib
 but no
   /opt/local/lib/libstdc++.a
 and this leads to the impossibility to create statically linked binaries
 with g++.

 How does it get built?

 Best,
   B.

--

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


More information about the macports-tickets mailing list