From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/9493 Path: news.gmane.org!not-for-mail From: Szabolcs Nagy Newsgroups: gmane.linux.lib.musl.general Subject: Re: Problem with musl-gcc script. Is it bad installation? Date: Sun, 6 Mar 2016 01:51:12 +0100 Message-ID: <20160306005112.GP29662@port70.net> References: <20160306002823.09d603d7c3d8fe4b0f4b15c1@asm32.info> <20160306003609.GO9349@brightrain.aerifal.cx> 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 1457225489 5048 80.91.229.3 (6 Mar 2016 00:51:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 6 Mar 2016 00:51:29 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-9506-gllmg-musl=m.gmane.org@lists.openwall.com Sun Mar 06 01:51:26 2016 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 1acMus-000487-Ky for gllmg-musl@m.gmane.org; Sun, 06 Mar 2016 01:51:26 +0100 Original-Received: (qmail 1500 invoked by uid 550); 6 Mar 2016 00:51:24 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Original-Received: (qmail 1478 invoked from network); 6 Mar 2016 00:51:24 -0000 Mail-Followup-To: musl@lists.openwall.com Content-Disposition: inline In-Reply-To: <20160306003609.GO9349@brightrain.aerifal.cx> User-Agent: Mutt/1.5.24 (2015-08-30) Xref: news.gmane.org gmane.linux.lib.musl.general:9493 Archived-At: * Rich Felker [2016-03-05 19:36:09 -0500]: > On Sun, Mar 06, 2016 at 12:28:23AM +0200, John Found wrote: > > Well, after compiling and installing musl (i386) (and everything seems to be ok), > > I set the path with: > > > > export PATH=/usr/local/musl/bin:$PATH > > > > and tried to start the musl-gss. In result I got an error: > > > > /usr/local/musl/bin/musl-gcc: line 2: exec: gcc -m32: not found > > > > When attempt to compile configure and compile something with: > > > > CC=musl-gcc ./configure --prefix=/usr/local/musl > > > > The result is the error: > > > > configure: error: C compiler cannot create executables > > > > So, how to proceed further? > > The musl-gcc script is limited in its usefulness, and was not really > designed/tested for repurposing an existing x86_64 gcc as an i386-musl > one. You should be able to make it work though by editing the musl-gcc > script to remove the double quotes around "${REALGCC:-...}". If that > works for you, this is possibly a change we should make upstream. > this came up a year ago http://www.openwall.com/lists/musl/2015/03/11/10