From: Philippe Gerum <rpm@xenomai.org>
To: Helder Daniel <hdaniel@ualg.pt>
Cc: "Xenomai@xenomai.org" <xenomai@xenomai.org>
Subject: Re: [Xenomai] Makefile to use 2 APIs (rtdm and alchemy) simultaneously
Date: Thu, 19 Mar 2015 07:56:49 +0100 [thread overview]
Message-ID: <550A7331.4000601@xenomai.org> (raw)
In-Reply-To: <CAKk99t26kP+wCRVS07LSAkm3zfF_Xjoo-E6d7Ynn9Cof3vXnug@mail.gmail.com>
On 03/18/2015 09:46 PM, Helder Daniel wrote:
> XDDP is based on RTDM, so you need POSIX, along with Alchemy for the
> changes you added, i.e.:
>
> xeno-config --alchemy --posix --ldflags
>
>
> ok, thanks
>
>
> > For the original version POSIX version xeno-config returns the correct
> > compilation flags specifying rtdm skin or posix skin. It is not needed to
> > specify both.
>
> Unlike with 2.6.x, mentioning RTDM is pointless with Xenomai 3.x because
> you always have POSIX implicitly for any application, therefore you have
> RTDM. Giving --skin=rtdm or --rtdm is a no-op for compat purpose with
> legacy Makefiles actually.
>
> With 3.x, RTDM implies POSIX I/O calls and the socket interface, which
> is readily available with libcobalt, which all apps link against.
>
>
> Ok, but it is still needed to specifying both:
>
> xeno-config --alchemy --posix --ldflags
>
> to get the all necessary linking flags, right?
>
Yes, both for --cflags and --ldflags.
--
Philippe.
prev parent reply other threads:[~2015-03-19 6:56 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-18 15:12 [Xenomai] Makefile to use 2 APIs (rtdm and alchemy) simultaneously Helder Daniel
2015-03-18 15:54 ` Helder Daniel
2015-03-18 16:07 ` Helder Daniel
2015-03-18 17:37 ` Philippe Gerum
2015-03-18 19:04 ` Helder Daniel
2015-03-18 20:26 ` Helder Daniel
2015-03-18 17:35 ` Philippe Gerum
2015-03-18 20:46 ` Helder Daniel
2015-03-19 6:56 ` Philippe Gerum [this message]
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=550A7331.4000601@xenomai.org \
--to=rpm@xenomai.org \
--cc=hdaniel@ualg.pt \
--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.