Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] syslinux using host compiler.
@ 2016-03-24 10:39 Gilles Chanteperdrix
  2016-03-24 12:50 ` Thomas Petazzoni
  0 siblings, 1 reply; 7+ messages in thread
From: Gilles Chanteperdrix @ 2016-03-24 10:39 UTC (permalink / raw)
  To: buildroot

Hi,

I am new to buildroot, and have been working for a couple of 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

^ permalink raw reply	[flat|nested] 7+ messages in thread
* [Buildroot] syslinux using host compiler.
@ 2016-03-24 10:30 Gilles Chanteperdrix
  2016-03-24 10:55 ` Gilles Chanteperdrix
  0 siblings, 1 reply; 7+ messages in thread
From: Gilles Chanteperdrix @ 2016-03-24 10:30 UTC (permalink / raw)
  To: buildroot

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2016-03-25 22:27 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-24 10:39 [Buildroot] syslinux using host compiler 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
  -- strict thread matches above, loose matches on Subject: below --
2016-03-24 10:30 Gilles Chanteperdrix
2016-03-24 10:55 ` Gilles Chanteperdrix

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox