From: Frieder Berthold <berthold.frieder@googlemail.com>
To: musl@lists.openwall.com
Subject: Re: How to cross-compiling
Date: Wed, 18 Nov 2015 12:19:26 +0100 [thread overview]
Message-ID: <CA+1a+Dq-yf4=8jP4dt9-w07mxXDMCUBi_62eMMhc6YxEpXb=4w@mail.gmail.com> (raw)
In-Reply-To: <20151118110304.GL18372@port70.net>
[-- Attachment #1: Type: text/plain, Size: 1248 bytes --]
I copied also the headers.
I know passed --target=x86_64-linux-musl --build=x86_64-linux-musl
--host=x86_64-linux-musl
to configure as well.
In configure it states that it can't find the libz.so, which is the reason
for termination.
There is also a folder lib in /opt/cross/x86_64-linux-musl/ (so one level
higher) do i have to copy the lib in there as well?
2015-11-18 12:03 GMT+01:00 Szabolcs Nagy <nsz@port70.net>:
> * 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
>
[-- Attachment #2: Type: text/html, Size: 1833 bytes --]
next prev parent reply other threads:[~2015-11-18 11:19 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
2015-11-18 11:19 ` Frieder Berthold [this message]
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='CA+1a+Dq-yf4=8jP4dt9-w07mxXDMCUBi_62eMMhc6YxEpXb=4w@mail.gmail.com' \
--to=berthold.frieder@googlemail.com \
--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).