xeno-config --xeno-ldflags does not add -lnative
When I run the command mentioned in the subject, it does not include a switch for -lnative. I have to add this to the LDFLAGS in my Makefile manually in order to link. Is this expected or do I just have something configured wrong? The output I get is:
"-L/usr/xenomai/lib -lpthread"
I am using the xeno-config that comes with Xenomai 2.4.10.
Thanks.
Quoted 8 lines · Steve Deiters
When I run the command mentioned in the subject, it does not include a switch for -lnative. I have to add this to the LDFLAGS in my
Makefilemanually in order to link. Is this expected or do I just have something configured wrong? The output I get is:"-L/usr/xenomai/lib -lpthread"
I am using the xeno-config that comes with Xenomai 2.4.10.
It is expected. These flags work for all skins, not only the native skin, so you have to add the proper -l for the skin you want to use. Only the posix skin has dedicated xeno_config options, because of the peculiar values of the flags it requires.
Signature · 1 line
Gilles.