All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Steve Deiters <SteveDeiters@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] xeno-config --xeno-ldflags does not add -lnative
Date: Sat, 05 Dec 2009 00:56:30 +0100	[thread overview]
Message-ID: <4B19A1AE.9090603@domain.hid> (raw)
In-Reply-To: <181804936ABC2349BE503168465576460CFD20DE@exchserver.basler.com>

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.


      reply	other threads:[~2009-12-04 23:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4B19A1AE.9090603@domain.hid \
    --to=gilles.chanteperdrix@xenomai.org \
    --cc=SteveDeiters@domain.hid \
    --cc=xenomai@xenomai.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.