Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160306005112.GP29662@port70.net>
Date: Sun, 6 Mar 2016 01:51:12 +0100
From: Szabolcs Nagy <nsz@...t70.net>
To: musl@...ts.openwall.com
Subject: Re: Problem with musl-gcc script. Is it bad installation?

* Rich Felker <dalias@...c.org> [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

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.