All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thiemo Seufer <ths@networkno.de>
To: Anthony Liguori <anthony@codemonkey.ws>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [5780] Native BSD host USB support (Juergen Lock, Lonnie Mendez)
Date: Tue, 25 Nov 2008 17:42:27 +0100	[thread overview]
Message-ID: <20081125164227.GB15592@networkno.de> (raw)
In-Reply-To: <492C0D01.8000604@codemonkey.ws>

Anthony Liguori wrote:
> 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.

You are right, disregard my comment on that. :-)


Thiemo

  reply	other threads:[~2008-11-25 16:42 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
2008-11-25 16:42       ` Thiemo Seufer [this message]
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=20081125164227.GB15592@networkno.de \
    --to=ths@networkno.de \
    --cc=anthony@codemonkey.ws \
    --cc=qemu-devel@nongnu.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.