All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-help] xeno-config --xeno-ldflags does not add -lnative
@ 2009-12-04 23:50 Steve Deiters
  2009-12-04 23:56 ` Gilles Chanteperdrix
  0 siblings, 1 reply; 2+ messages in thread
From: Steve Deiters @ 2009-12-04 23:50 UTC (permalink / raw)
  To: xenomai

[-- Attachment #1: Type: text/plain, Size: 375 bytes --]

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.
 
 

[-- Attachment #2: Type: text/html, Size: 1389 bytes --]

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

* Re: [Xenomai-help] xeno-config --xeno-ldflags does not add -lnative
  2009-12-04 23:50 [Xenomai-help] xeno-config --xeno-ldflags does not add -lnative Steve Deiters
@ 2009-12-04 23:56 ` Gilles Chanteperdrix
  0 siblings, 0 replies; 2+ messages in thread
From: Gilles Chanteperdrix @ 2009-12-04 23:56 UTC (permalink / raw)
  To: Steve Deiters; +Cc: xenomai

Steve Deiters wrote:
> 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.

-- 
					    Gilles.


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

end of thread, other threads:[~2009-12-04 23:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-04 23:50 [Xenomai-help] xeno-config --xeno-ldflags does not add -lnative Steve Deiters
2009-12-04 23:56 ` Gilles Chanteperdrix

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.