Skip to contentSkip to conversation

syslinux using host compiler.

Buildroot Gilles Chanteperdrix 1 participant 2 messages Mar 24, 2016

lore
Share & tools
lore
#0 lore 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.

Signature · 2 lines
					    Gilles.
https://click-hack.org
#1 lore raw
Quoted 4 lines · Gilles Chanteperdrix

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.

Sorry for the duplicate.

Signature · 2 lines
					    Gilles.
https://click-hack.org