From: Szabolcs Nagy <nsz@port70.net>
To: musl@lists.openwall.com
Subject: Re: How to cross-compiling
Date: Wed, 18 Nov 2015 12:03:04 +0100 [thread overview]
Message-ID: <20151118110304.GL18372@port70.net> (raw)
In-Reply-To: <CA+1a+Drnh2By8ZEWRXZTdmMpj_qaajTSSAz8JSv8B1mevyaEqg@mail.gmail.com>
* Frieder Berthold <berthold.frieder@googlemail.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
next prev parent reply other threads:[~2015-11-18 11:03 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-18 10:28 Frieder Berthold
2015-11-18 11:03 ` Szabolcs Nagy [this message]
2015-11-18 11:19 ` Frieder Berthold
2015-11-18 12:39 ` Szabolcs Nagy
2015-11-19 13:08 ` Frieder Berthold
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20151118110304.GL18372@port70.net \
--to=nsz@port70.net \
--cc=musl@lists.openwall.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/musl/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).