From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: buildroot@busybox.net
Subject: [Buildroot] syslinux using host compiler.
Date: Thu, 24 Mar 2016 11:30:00 +0100 [thread overview]
Message-ID: <20160324103000.GK22286@hermes.click-hack.org> (raw)
Hi,
I am new to buildroot, and have been working for about two weeks
with it, and everything seems to be working fine so far.
I have a question however: why is syslinux (and grub2 for that
matter, I guess) built with the host toolchain? I can understand
that some tools (such as isohybrid) need to be executed on the host,
but the final binaries are for the target. So, does not that call
for having a separate host-syslinux and syslinux packages like other
packages do?
The current setup only works if the host is x86.
I am using an x86_64 toolchain generated with ct-ng, did not enable
multilib, and syslinux seems to have no problem compiling with that
toolchain, which seems normal, since the boot code should not be
using the libc anyway.
So, what am I missing?
Thanks in advance.
Regards.
--
Gilles.
https://click-hack.org
next reply other threads:[~2016-03-24 10:30 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-24 10:30 Gilles Chanteperdrix [this message]
2016-03-24 10:55 ` [Buildroot] syslinux using host compiler Gilles Chanteperdrix
-- strict thread matches above, loose matches on Subject: below --
2016-03-24 10:39 Gilles Chanteperdrix
2016-03-24 12:50 ` Thomas Petazzoni
2016-03-24 13:08 ` Gilles Chanteperdrix
2016-03-24 14:12 ` Thomas Petazzoni
2016-03-25 22:27 ` Arnout Vandecappelle
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=20160324103000.GK22286@hermes.click-hack.org \
--to=gilles.chanteperdrix@xenomai.org \
--cc=buildroot@busybox.net \
/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