* Building kexec-tools with arm64 cross compilation
@ 2015-12-16 20:45 Jeremy Nysen
2015-12-18 1:10 ` Geoff Levand
0 siblings, 1 reply; 2+ messages in thread
From: Jeremy Nysen @ 2015-12-16 20:45 UTC (permalink / raw)
To: kexec
The kernel/git/geoff/kexec-tools repository doesn’t seem to cross compile for the target platform. I’ve tried the appropriate target options and TARGET_xx vars, etc, but it still errors out with missing includes and attempts to use host includes with target compilation when building for a mobile Android target platform.
I’d greatly appreciate any info you have on the tool set and configure options you're using to build it.
Cheers,
Jeremy
_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Building kexec-tools with arm64 cross compilation
2015-12-16 20:45 Building kexec-tools with arm64 cross compilation Jeremy Nysen
@ 2015-12-18 1:10 ` Geoff Levand
0 siblings, 0 replies; 2+ messages in thread
From: Geoff Levand @ 2015-12-18 1:10 UTC (permalink / raw)
To: Jeremy Nysen, kexec
Hi,
On Thu, 2015-12-17 at 07:45 +1100, Jeremy Nysen wrote:
> The kernel/git/geoff/kexec-tools repository doesn’t seem to cross compile for the target platform. I’ve tried the appropriate target options and TARGET_xx vars, etc, but it still errors out with missing includes and attempts to use host includes with target compilation when building for a mobile Android target platform.
>
> I’d greatly appreciate any info you have on the tool set and configure options you're using to build it.
I use the gcc-aarch64-linux-gnu toolchain package on Ubuntu.
I build with this:
$ cd ${work}
$ ${path_to}/kexec-tools/configure --build=x86_64-linux --host=aarch64-linux-gnu --target=aarch64-linux-gnu --without-xen
$ make ARCH=arm64 clean all
Check it with this:
$ file build/sbin/kexec
build/sbin/kexec: ELF 64-bit LSB executable, ARM aarch64, version 1 (SYSV), dynamically linked,
-Geoff
_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-12-18 1:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-12-16 20:45 Building kexec-tools with arm64 cross compilation Jeremy Nysen
2015-12-18 1:10 ` Geoff Levand
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.