* [Xenomai-core] Cross compiling for ARM
@ 2007-10-13 16:43 Jan Kiszka
2007-10-13 17:12 ` Sebastian Smolorz
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Jan Kiszka @ 2007-10-13 16:43 UTC (permalink / raw)
To: Xenomai-core
[-- Attachment #1: Type: text/plain, Size: 679 bytes --]
Hi all,
in order to build Xenomai's userland with a toolchain that is prefixed
with "armv5l-linux-", I had to patch configure.in like this
Index: configure.in
===================================================================
--- configure.in (Revision 3050)
+++ configure.in (Arbeitskopie)
@@ -83,7 +83,7 @@ case "$host" in
XENO_LINUX_ARCH=bfinnommu
XENO_LINUX_INSTALL_TARGET=install
;;
- arm-*)
+ arm*-*)
XENO_TARGET_ARCH=arm
XENO_LINUX_ARCH=arm
XENO_LINUX_INSTALL_TARGET=install_image
in order to call "configure --host=armv5l-linux ...". Am I doing
something crazy or is this really a required patch for Xenomai?
Jan
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 252 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: [Xenomai-core] Cross compiling for ARM
2007-10-13 16:43 [Xenomai-core] Cross compiling for ARM Jan Kiszka
@ 2007-10-13 17:12 ` Sebastian Smolorz
[not found] ` <200710131900.56087.Sebastian.Smolorz@domain.hid>
2007-10-13 17:18 ` Gilles Chanteperdrix
2 siblings, 0 replies; 4+ messages in thread
From: Sebastian Smolorz @ 2007-10-13 17:12 UTC (permalink / raw)
To: xenomai
Hi Jan,
Jan Kiszka wrote:
> in order to build Xenomai's userland with a toolchain that is prefixed
> with "armv5l-linux-", I had to patch configure.in like this
>
> Index: configure.in
> ===================================================================
> --- configure.in (Revision 3050)
> +++ configure.in (Arbeitskopie)
> @@ -83,7 +83,7 @@ case "$host" in
> XENO_LINUX_ARCH=bfinnommu
> XENO_LINUX_INSTALL_TARGET=install
> ;;
> - arm-*)
> + arm*-*)
> XENO_TARGET_ARCH=arm
> XENO_LINUX_ARCH=arm
> XENO_LINUX_INSTALL_TARGET=install_image
>
> in order to call "configure --host=armv5l-linux ...". Am I doing
> something crazy or is this really a required patch for Xenomai?
I never had such problems compiling Xenomai for ARM. Our toolchains are
generally prefixed with "arm-linux-". For the --host option I
use "--host=arm-unknown-linux-gnu". It works without a flaw.
--
Sebastian
^ permalink raw reply [flat|nested] 4+ messages in thread[parent not found: <200710131900.56087.Sebastian.Smolorz@domain.hid>]
* Re: [Xenomai-core] Cross compiling for ARM
2007-10-13 16:43 [Xenomai-core] Cross compiling for ARM Jan Kiszka
2007-10-13 17:12 ` Sebastian Smolorz
[not found] ` <200710131900.56087.Sebastian.Smolorz@domain.hid>
@ 2007-10-13 17:18 ` Gilles Chanteperdrix
2 siblings, 0 replies; 4+ messages in thread
From: Gilles Chanteperdrix @ 2007-10-13 17:18 UTC (permalink / raw)
To: Jan Kiszka; +Cc: Xenomai-core
Jan Kiszka wrote:
> Hi all,
>
> in order to build Xenomai's userland with a toolchain that is prefixed
> with "armv5l-linux-", I had to patch configure.in like this
>
> Index: configure.in
> ===================================================================
> --- configure.in (Revision 3050)
> +++ configure.in (Arbeitskopie)
> @@ -83,7 +83,7 @@ case "$host" in
> XENO_LINUX_ARCH=bfinnommu
> XENO_LINUX_INSTALL_TARGET=install
> ;;
> - arm-*)
> + arm*-*)
> XENO_TARGET_ARCH=arm
> XENO_LINUX_ARCH=arm
> XENO_LINUX_INSTALL_TARGET=install_image
>
> in order to call "configure --host=armv5l-linux ...". Am I doing
> something crazy or is this really a required patch for Xenomai?
Yes, I guess this is required.
--
Gilles Chanteperdrix.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2007-10-13 17:18 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-13 16:43 [Xenomai-core] Cross compiling for ARM Jan Kiszka
2007-10-13 17:12 ` Sebastian Smolorz
[not found] ` <200710131900.56087.Sebastian.Smolorz@domain.hid>
2007-10-13 17:16 ` Jan Kiszka
2007-10-13 17:18 ` Gilles Chanteperdrix
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.