From: Pierre Bourgin <pbou...@gmail.com>
To: voidlinux <void...@googlegroups.com>
Subject: Re: xbps-src: lost in cross-build, aka on makedepends vs hostmakedepends
Date: Mon, 28 Sep 2015 06:23:11 -0700 (PDT) [thread overview]
Message-ID: <4fd02ca7-4f36-4922-b1df-fc1feb2f782a@googlegroups.com> (raw)
In-Reply-To: <37fc60eb-e234-4368-864c-c34b1de47398@googlegroups.com>
[-- Attachment #1.1: Type: text/plain, Size: 718 bytes --]
Sorry, I missed your previous post before asking ...
Thanks for sharing your knowledge !
If I understand well regarding your example, *cmake* has to be *only* in
*hostmakedepends* (and not makedepends) for cross-compiling on x86_64 for
armv7 arch.
If not, I mean if cmake was listed in makedepends:
call of cmake won't work, because its runtime will be an armv7 binary then,
that can't be runned on x86_64 arch (which is cross-compiling).
So the rule for cross-building is:
all stuff that need to be runtimed/executed during the build process (and
not only linked/generated) has to be in *hostmakedepends* in order to have
the right binary platform type (native and not cross-target architecture).
right ?
[-- Attachment #1.2: Type: text/html, Size: 812 bytes --]
next prev parent reply other threads:[~2015-09-28 13:23 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-28 10:24 Pierre Bourgin
2015-09-28 12:13 ` Stefan Mühlinghaus
2015-09-28 13:23 ` Pierre Bourgin [this message]
2015-09-28 13:52 ` Stefan Mühlinghaus
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=4fd02ca7-4f36-4922-b1df-fc1feb2f782a@googlegroups.com \
--to="pbou..."@gmail.com \
--cc="void..."@googlegroups.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.
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).