All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai] doc for xeno-config skins
@ 2018-04-04 20:15 Giulio Moro
  2018-04-05  6:36 ` Philippe Gerum
  0 siblings, 1 reply; 5+ messages in thread
From: Giulio Moro @ 2018-04-04 20:15 UTC (permalink / raw)
  To: xenomai

What is the difference between the Posix and Cobalt skin, as far as xeno-config is concerned??

Difference between
  xeno-config --skin posix --cflags
  xeno-config --skin cobalt --cflags
is that the former declares -D__COBALT_WRAP__ (which in turn adds fwd declarations for clock_nanosleep() and pthread_setname_np() in boilerplate/libc.h).

difference between 
  xeno-config --skin posix --ldflags
  xeno-config --skin cobalt --ldflags
is that the former adds `-Wl,@/usr/xenomai/lib/cobalt.wrappers`

So it seems to me that `--skin posix` expects you to call, e.g.: pthread_create(), while `--skin cobalt` expects you to call, e.g.: __wrap_pthread_create()

Is this correct?
Is that it?
What are the intended uses?
I don't think this is documented anywhere? Where would be the best place to have this written down? Perhaps the --help of xeno-config? Also, while we are at it, --skin alchemy vs --skin native and the effect of --compat could use some description.

Best,
Giulio


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-04-08 15:43 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-04 20:15 [Xenomai] doc for xeno-config skins Giulio Moro
2018-04-05  6:36 ` Philippe Gerum
2018-04-05 11:39   ` Giulio Moro
2018-04-05 13:25     ` Philippe Gerum
2018-04-08 15:43       ` Philippe Gerum

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.