Philippe,
>>> You just need to make sure to compile/link with the hardened
>>> Xenomai POSIX library, try running:
>>> $ xeno-config --posix-cflags|--posix-ldflags.
>> What does it do?
>
> It returns the proper CFLAGS and LDFLAGS to use in order to compile a
> POSIX application using the Xenomai hardened POSIX library. In short,
> libpthread.so is partially shadowed by our libpthread_rt.so library.
xeno-config --verbose
--version="2.3.50"
--cc="arm-softfloat-linux-gnu-gcc"
--arch="arm"
--prefix="/usr/xenomai"
--xeno-cflags="-I/usr/xenomai/include -D_GNU_SOURCE -D_REENTRANT"
--xeno-ldflags="-L/usr/xenomai/lib -lpthread "
--posix-cflags="-I/usr/xenomai/include -I/usr/xenomai/include/posix
-D_GNU_SOURCE -D_REENTRANT -D__XENO__"
--posix-ldflags="-L/usr/xenomai/lib -lpthread_rt -lpthread -lrt "
--library-dir="/usr/xenomai/lib"
Sorry. I have to ask again. What am I supposed to do with these lines?
Shell I use all of it whenn calling arm-softfloat-linux-gnu-gcc to compile
my application?
Thanks!
Steven
_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help