From: Jan Kiszka <jan.kiszka@domain.hid>
To: Thomas Wiedemann <Thomas.Wiedemann@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-core] Please remove "-I." in "xeno-config --*-cflags
Date: Wed, 04 Oct 2006 15:11:08 +0200 [thread overview]
Message-ID: <4523B2EC.3050805@domain.hid> (raw)
In-Reply-To: <OFEF08EF89.60F083EE-ONC12571FD.003F2533-C12571FD.00429C50@domain.hid>
[-- Attachment #1: Type: text/plain, Size: 1330 bytes --]
Thomas Wiedemann wrote:
> Hi,
>
> setting "-I." in the compiler flags in scripts/xeno-config.in
> messes up the include file search order of the compiler,
> and i can't see any good reason for it to be there.
I don't see any obvious reason as well. A quick test with our software
stack revealed no problems when removing it, but we should first wait
for further input on the original reason behind it (seems to date back
into fusion times...).
BTW, providing a patch, even if it's trivial, is always welcome in such
cases.
> the
> other flags except the xenomai include-path and the
> defines are questionable, too. At least "-Wall" and
> "-pipe" should be left to the programmer of the
> application.
Well, -Wall should be considered a reasonable policy to keep code clean.
Me feeling is that this switch is fairly appropriate, specifically for
real-time applications. But it can easily be relaxed by adding specific
-Wno-xxx after the Xenomai flags. And *that* should happen explicitly.
-pipe is an optimisation of the build process, something one may
discuss, though I don't see an immediate reason why it could fail in the
context of Xenomai applications (that should use the GNU toolchain anyway).
Jan
PS: sed 's/-I.//' applied on xeno-config output may meanwhile save your
day...
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 250 bytes --]
next prev parent reply other threads:[~2006-10-04 13:11 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-04 12:07 [Xenomai-core] Please remove "-I." in "xeno-config --*-cflags Thomas Wiedemann
2006-10-04 13:11 ` Jan Kiszka [this message]
2006-10-04 14:23 ` Thomas Wiedemann
2006-10-08 13:23 ` [Xenomai-core] Compiler and linker flags (was: Please remove "-I." in "xeno-config --*-cflags) Jan Kiszka
2006-10-08 15:25 ` Gilles Chanteperdrix
2006-10-08 17:59 ` [Xenomai-core] Compiler and linker flags Jan Kiszka
2006-10-08 19:31 ` Philippe Gerum
2006-10-08 19:51 ` Jan Kiszka
2006-10-08 20:44 ` Philippe Gerum
2006-10-09 4:54 ` Gilles Chanteperdrix
2006-10-09 6:57 ` Philippe Gerum
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=4523B2EC.3050805@domain.hid \
--to=jan.kiszka@domain.hid \
--cc=Thomas.Wiedemann@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.