|
Message-ID: <20160306003609.GO9349@brightrain.aerifal.cx> Date: Sat, 5 Mar 2016 19:36:09 -0500 From: Rich Felker <dalias@...c.org> To: musl@...ts.openwall.com Subject: Re: Problem with musl-gcc script. Is it bad installation? 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. Rich
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.