From: gohlx002@domain.hid
To: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] using the RTAI skin
Date: 21 Jan 2010 11:12:18 -0600 [thread overview]
Message-ID: <Gophermail.2.0.1001211112180.7014@domain.hid> (raw)
In-Reply-To: <4B587D31.4070503@domain.hid>
On Jan 21 2010, Gilles Chanteperdrix wrote:
>gohlx002@domain.hid wrote:
>> Hello all,
>>
>> I'm doing some investigation on migrating my application from RTAI to
>> Xenomai. From the description of a Xenomai skin, it seems like I might
>> be
>> able to use the RTAI skin to run my application "as is". Along this
>> line, I
>> put together a small test application in RTAI that would be very
>> illustrative if I can get it to run in Xenomai. The first step is of
>> course
>> compiling it which I haven't been able to do because of missing
>> references
>> to all the RTAI functions (e.g. rt_task_init_schmod). If someone feels
>> like
>> helping out, we could work through this whole process (from an RTAI app
>> to
>> running on Xenomai) and turn this into another example to add to the
>> examples folder for future reference. Here's the application I'm trying
>> to
>> compile (the Makefile I just adapted from the native examples folder and
>> changed the application name):
>
>The RTAI skin is mostly kernel-space. User-space only supports a few
>things (like shared memory). In an case, to find what is supported,
>check src/skins/rtai in xenomai sources tree.
>
>In the makefile, what is important is:
>
>XENO_DESTDIR=/path/to/xenomai/installation/root
>XENO_CONFIG=$(XENO_DESTDIR)/usr/local/bin/xeno-config)
>XENO_RTAI_CPPFLAGS=$(shell DESTDIR=$(XENO_DESTDIR) $(XENO_CONFIG) --cflags)
> XENO_RTAI_LDFLAGS=$(shell DESTDIR=$(XENO_DESTDIR) $(XENO_CONFIG)
> --ldflags) -lrtai
>
>then add XENO_RTAI_CPPFLAGS to your program CPPFLAGS or CFLAGS, and
>add XENO_RTAI_LDFLAGS to your program LDFLAGS.
>
>
Oh I see. This is helpful thanks Gilles. I'll give this a try and report
back on my progress.
Jesse
next prev parent reply other threads:[~2010-01-21 17:12 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-21 15:59 [Xenomai-help] using the RTAI skin gohlx002
2010-01-21 16:13 ` Gilles Chanteperdrix
2010-01-21 17:12 ` gohlx002 [this message]
2010-01-21 17:40 ` Gilles Chanteperdrix
2010-01-21 17:56 ` Philippe Gerum
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=Gophermail.2.0.1001211112180.7014@domain.hid \
--to=gohlx002@domain.hid \
--cc=gilles.chanteperdrix@xenomai.org \
--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.