From: Romain Lenglet <rlenglet@domain.hid>
To: xenomai@xenomai.org
Subject: Re: [Xenomai-core] Cosmetic changes to script xeno-config + man page
Date: Wed, 19 Oct 2005 17:42:11 +0900 [thread overview]
Message-ID: <200510191742.12489.rlenglet@domain.hid> (raw)
In-Reply-To: <1CFEB358338412458B21FAA0D78FE86D4F0E2E@rennsmail02.eu.thmulti.com>
> > > >I will look into making a xenomai.pc file.
> > >
> > > Make it a xenomai.pc.in file ;-)
Yes, that's what I considered doing.
> > I am not sure we want to depend on pkg-config...
>
> Gilles, put it the other way around. Xenomai won't depend on
> pkg-config, but applications using Xenomai, will happily
> depend on it, if they choose this option. To me, pkg-config
> shouldn't be a replacement, but an alternative choice to
> xeno-config.
I agree, it considered that as an alternative.
Unfortunately, it is not that simple.
It would be necessary to create several *.pc.in files, one for
each set of config parameters, cf. the output of xeno-config:
- xenomai-kernel.pc.in <-> --kernel-*
- xenomai-native.pc.in <-> --xeno-*
- xenomai-posix.pc.in <-> --posix-*
- xenomai-uvm.pc.in <-> --uvm-*
Beware that me must "merge" the *-cflags and *-ldflags config
info, because pkg-config splits them a-posteriori, cf. the
--cflags, --libs-only-L and --libs-only-l options of pkg-config.
That separation is different from that of Xenomai's xeno-config.
And the xeno-config script would still be necessary for some
parameters, such as:
xeno-config --module-dir
and:
xeno-config --config
pkg-config is too limited regarding the information that we can
put into .pc files...
Anyway, Stephane, if you want to write the four *.pc.in, go on
please! :)
--
Romain Lenglet
next prev parent reply other threads:[~2005-10-19 8:42 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-19 8:15 [Xenomai-core] Cosmetic changes to script xeno-config + man page Fillod Stephane
2005-10-19 8:42 ` Romain Lenglet [this message]
-- strict thread matches above, loose matches on Subject: below --
2005-10-19 7:37 Fillod Stephane
2005-10-19 7:47 ` Gilles Chanteperdrix
2005-10-16 16:57 Romain Lenglet
2005-10-17 16:33 ` Jim Cromie
2005-10-17 17:17 ` Romain Lenglet
2005-10-17 19:06 ` Gilles Chanteperdrix
2005-10-18 6:20 ` Gilles Chanteperdrix
2005-10-18 8:59 ` Romain Lenglet
2005-10-18 17:29 ` Gilles Chanteperdrix
2005-10-19 4:53 ` Romain Lenglet
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=200510191742.12489.rlenglet@domain.hid \
--to=rlenglet@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.