Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20151118110304.GL18372@port70.net>
Date: Wed, 18 Nov 2015 12:03:04 +0100
From: Szabolcs Nagy <nsz@...t70.net>
To: musl@...ts.openwall.com
Subject: Re: How to cross-compiling

* Frieder Berthold <berthold.frieder@...glemail.com> [2015-11-18 11:28:04 +0100]:
> I copied the zlib into /opt/cross/x86_64-linux-mus/x86_64-linux-musl/lib

i assume you also copied the headers to include/

> and run configure on jamVM:
> CC=/opt/cross/x86_64-linux-musl/bin/x86_64-linux-musl-gcc ./autogen.sh
> --with-java-runtime-library=openjdk8
> 

you may need to pass --target=x86_64-linux-musl somewhere

> It tells me, that it can't find the libz.so.
> 
> So my question is: Is this the right way to configure and where does it
> look for the libz.so if not in the corresponding lib folder of the
> cross-compiler?
> 

autogen.sh can fail for any reason, you should look at
the failing command (e.g. in configure.log), most
likely the failure is completely unrelated to libz.so

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.