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