From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <48D3F920.5080002@domain.hid> Date: Fri, 19 Sep 2008 21:10:24 +0200 From: Gilles Chanteperdrix MIME-Version: 1.0 References: <894886ec0809191200n298bc0e1n706ddf58ae987cf5@domain.hid> In-Reply-To: <894886ec0809191200n298bc0e1n706ddf58ae987cf5@domain.hid> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Xenomai-help] Creating shared objects for realtime and non-realtime List-Id: Help regarding installation and common use of Xenomai List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Rob Wheeler Cc: xenomai@xenomai.org Rob Wheeler wrote: > I'm working on a large system that consists of several shared objects > that get linked together into an executable. In one instance, I link > these shared objects together with a realtime control loop to create > an executable that runs on my target hardware platform. In another > instance, I want to link these shared objects into an executable that > runs under simulation on a non-realtime platform. I'm using posix > APIs throughout the shared objects for threading and mutex operations. > I'd like to create a single instance of each of these shared objects > and do the Xenomai "skin wrapping" at the final link step, but it > seems that instead I need to create a realtime and non-realtime > version of each shared object and link against the correct ones during > the final link step. Has someone else faced this issue before? The first approach should work, what goes wrong when you try ? -- Gilles.