From: jeff angielski <jeff@domain.hid>
To: xenomai@xenomai.org
Subject: [Xenomai-help] Using xeno-config in cross compiling
Date: Sat, 18 Apr 2009 16:57:32 -0400 [thread overview]
Message-ID: <1240088252.31471.6.camel@domain.hid> (raw)
I am unable to cross compile to any POSIX skin applications, including
the example, because the xeno-config is return that POSIX is not
supported. However, when I run xeno-config on the target itself, it
returns the necessary posix-cflags and posix-ldflags.
Running it on my powerpc target:
-bash-3.2# /usr/xenomai/bin/xeno-config --posix-cflags --posix-ldflags
-I/usr/xenomai/include -I/usr/xenomai/include/posix -D_GNU_SOURCE
-D_REENTRANT -D__XENO__
-Wl,@/usr/xenomai/lib/posix.wrappers -L/usr/xenomai/lib -lpthread_rt
-lpthread -lrt
Running it on my i686 build host:
jaa@domain.hid:~$ /srv/nfs/srp-xen/usr/xenomai/bin/xeno-config
--posix-cflags --posix-ldflags
-I/usr/xenomai/include -I/usr/xenomai/include/posix -D_GNU_SOURCE
-D_REENTRANT -D__XENO__
POSIX support is not available
What is the proper way to cross compiler a POSIX skin application in a
cross compiler development setup?
Gory details:
xen: xenomai-2.4.7
kernel: linux 2.6.28.5
arch: powerpc (MPC8544)
cc: ppc_85xxDP (from ELDK)
--
Jeff Angielski
The PTR Group
www.theptrgroup.com
next reply other threads:[~2009-04-18 20:57 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-18 20:57 jeff angielski [this message]
2009-04-18 22:42 ` [Xenomai-help] Using xeno-config in cross compiling Philippe Gerum
2009-04-20 19:17 ` jeff angielski
2009-04-20 19:25 ` Gilles Chanteperdrix
2009-04-20 20:14 ` Philippe Gerum
2009-04-21 12:04 ` jeff angielski
2009-04-21 14:02 ` Gilles Chanteperdrix
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=1240088252.31471.6.camel@domain.hid \
--to=jeff@domain.hid \
--cc=xenomai@xenomai.org \
/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 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.