From: Anthony Liguori <anthony@codemonkey.ws>
To: Thiemo Seufer <ths@networkno.de>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [5780] Native BSD host USB support (Juergen Lock, Lonnie Mendez)
Date: Tue, 25 Nov 2008 08:34:41 -0600 [thread overview]
Message-ID: <492C0D01.8000604@codemonkey.ws> (raw)
In-Reply-To: <20081125100732.GA15592@networkno.de>
Thiemo Seufer wrote:
> It shouldn't try to compile, for the sake of cross portability. Rather
> something like
>
> gcc -E -dM -xc /dev/null |grep __linux__
>
> This checks if the compiler in use is a Linux compiler.
>
Good enough, but I wonder why you think it shouldn't compile for the
sake of cross portability?
The cross compiler should be able to create an executable. You don't
have to run it, you just have to rely on #error causing compilation to fail.
Regards,
Anthony Liguori
> Thiemo
>
next prev parent reply other threads:[~2008-11-25 14:34 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-22 21:03 [Qemu-devel] [5780] Native BSD host USB support (Juergen Lock, Lonnie Mendez) Blue Swirl
2008-11-24 20:38 ` Anthony Liguori
2008-11-25 10:07 ` Thiemo Seufer
2008-11-25 14:34 ` Anthony Liguori [this message]
2008-11-25 16:42 ` Thiemo Seufer
2008-11-25 17:37 ` Blue Swirl
2008-11-25 19:31 ` Anthony Liguori
2008-11-25 16:33 ` Blue Swirl
2008-11-24 20:42 ` Hervé Poussineau
2008-11-25 17:18 ` Andreas Färber
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=492C0D01.8000604@codemonkey.ws \
--to=anthony@codemonkey.ws \
--cc=qemu-devel@nongnu.org \
--cc=ths@networkno.de \
/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.