From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/7885 Path: news.gmane.org!not-for-mail From: Szabolcs Nagy Newsgroups: gmane.linux.lib.musl.general Subject: Re: C++ questions Date: Fri, 5 Jun 2015 23:56:17 +0200 Message-ID: <20150605215616.GF10927@port70.net> References: Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1433541415 3191 80.91.229.3 (5 Jun 2015 21:56:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 5 Jun 2015 21:56:55 +0000 (UTC) Cc: John Mudd To: musl@lists.openwall.com Original-X-From: musl-return-7898-gllmg-musl=m.gmane.org@lists.openwall.com Fri Jun 05 23:56:40 2015 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1Z0zbK-0006pN-Eu for gllmg-musl@m.gmane.org; Fri, 05 Jun 2015 23:56:30 +0200 Original-Received: (qmail 24275 invoked by uid 550); 5 Jun 2015 21:56:29 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 24257 invoked from network); 5 Jun 2015 21:56:28 -0000 Mail-Followup-To: musl@lists.openwall.com, John Mudd Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Xref: news.gmane.org gmane.linux.lib.musl.general:7885 Archived-At: * John Mudd [2015-06-05 17:34:52 -0400]: > Error loading shared library ld-linux.so.2: No such file or directory > (needed by /usr/lib/i386-linux-gnu/libstdc++.so.6) > create an empty ld-linux.so.2 gcc -o ld-linux.so.2 -xc -shared - I looked at the notes about C++ in the musl faqs. For that I decided it > might help if I built gcc in musl. Then everything will be musl-ized? I > built gmp, mpfr and mpc. Started building gcc but got the following error. > > /home/mudd/musl/gcc-4.9.2.obj/gcc/../../gcc-4.9.2/gcc/plugin.c:579: > undefined reference to `dlopen' > you have to patch gcc and use certain options to make it work musl-cross build scripts take care of if (there are prebuilt toolchains too) > Before I go further, any opinions if I'm even headed in the right direction? > you may get away without building