From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <550A7331.4000601@xenomai.org> Date: Thu, 19 Mar 2015 07:56:49 +0100 From: Philippe Gerum MIME-Version: 1.0 References: <5509B74A.8080302@xenomai.org> In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [Xenomai] Makefile to use 2 APIs (rtdm and alchemy) simultaneously List-Id: Discussions about the Xenomai project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Helder Daniel Cc: "Xenomai@xenomai.org" 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.