Skip to contentSkip to conversation

xeno-config --xeno-ldflags does not add -lnative

Xenomai-help Steve Deiters 2 participants 2 messages Dec 4, 2009

lore
Share & tools
lore
#0 lore raw

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.

#1 lore raw
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 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.

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.