I thought the same. But maybe g++ thinks it's going to run gnu ld, while it's going to run sun ld. Secondly, I surely had to add /usr/gcc/4.7/lib to the link path, but maybe I can avoid specifying -lstdc++, maybe... I'll try and send you feedback :) ---------------------------------------------------------------------------------- Da: Michael Stahl A: libreoffice@lists.freedesktop.org Data: 20 gennaio 2015 18.02.27 CET Oggetto: Re: Solved: 4.4.0.1 build error on libstdc++ on solaris/illumos On 20.01.2015 13:38, Gabriele Bulfon wrote: Because our default gcc is 4.4.7 on XStreamOS, but I'm building with gcc 4.7, installed as an added option under /usr/gcc/4.7, I had to patch solaris.mk to link there, so here is the patch I'm using. What do you suggest in this case? i find it a bit odd that you need to link libstdc++ explicitly, shouldn't g++ do that by itself? perhaps there is some mistake in your setup, but i've never built gcc myself so no idea what could go wrong... _______________________________________________ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
_______________________________________________ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice