Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 04 Feb 2013 15:40:33 +0200
From:      Volodymyr Kostyrko <c.kworr@gmail.com>
To:        Dimitry Andric <dim@FreeBSD.org>
Cc:        FreeBSD Stable Mailing List <freebsd-stable@freebsd.org>, Andreas Nilsson <andrnils@gmail.com>
Subject:   Re: Ports and WITH_LIBCPLUSPLUS
Message-ID:  <510FBA51.9090806@gmail.com>
In-Reply-To: <510E65FA.4040900@FreeBSD.org>
References:  <CAPS9%2BSsKqM%2B0Zo71LRxTfUPVOBhUaCTqrXDuHv30e76EH7YWCw@mail.gmail.com> <510E65FA.4040900@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
03.02.2013 15:28, Dimitry Andric:
> Thanks for trying this out.  Is there also a list of ports that *do*
> compile (and hopefully run) successfully? :-)

I already switched to libc++ on my unstable STABLE-9 machines. Currently 
I'm using this config:

*: CXXFLAGS= -stdlib=libc++ -std=c++11 | LDFLAGS= -stdlib=libc++

audio/flac databases/db5 devel/binutils devel/doxygen devel/qt4-designer 
devel/qt4-qt3support devel/qt4-script devel/yasm graphics/libopenraw 
graphics/tesseract lang/gcc multimedia/phonon-gstreamer 
net-p2p/transmission-cli net-p2p/transmission-daemon 
sysutils/smartmontools textproc/hunspell www/qt4-webkit 
x11/nvidia-driver x11/qt4-opengl: !CXXFLAGS | !LDFLAGS

databases/mariadb-client emulators/pearpc www/libxul 
x11-toolkits/qt4-gui: USE_GCC=4.6+ | !CXXFLAGS | !LDFLAGS

www/squid32: USE_GCC=any | !CXXFLAGS | !LDFLAGS

Currently I have working seamonkey and slim built this way.

 > ldd `which seamonkey`
/usr/local/bin/seamonkey:
         libm.so.5 => /lib/libm.so.5 (0x800846000)
         libcxxrt.so.1 => /lib/libcxxrt.so.1 (0x800a65000)
         libc++.so.1 => /usr/lib/libc++.so.1 (0x800c7e000)
         libthr.so.3 => /lib/libthr.so.3 (0x800f34000)
         libc.so.7 => /lib/libc.so.7 (0x801156000)
         libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x8014a5000)

I can post whole list of packages if anyone is interested. Everything 
looks even better then when clang was introduced to ports - almost any 
package works, the ones that doesn't just have a complicated 
build/install process. No painful glitches yet.

-- 
Sphinx of black quartz, judge my vow.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?510FBA51.9090806>