From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:60136) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ueprv-0006is-CP for qemu-devel@nongnu.org; Tue, 21 May 2013 12:57:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Uepro-0000t8-N0 for qemu-devel@nongnu.org; Tue, 21 May 2013 12:56:59 -0400 Received: from mail-lb0-f173.google.com ([209.85.217.173]:39847) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uepro-0000se-G8 for qemu-devel@nongnu.org; Tue, 21 May 2013 12:56:52 -0400 Received: by mail-lb0-f173.google.com with SMTP id t10so1066380lbi.32 for ; Tue, 21 May 2013 09:56:51 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <20130521153338.4880.75134.stgit@hds.com> References: <20130521153333.4880.74390.stgit@hds.com> <20130521153338.4880.75134.stgit@hds.com> From: Peter Maydell Date: Tue, 21 May 2013 17:56:31 +0100 Message-ID: Content-Type: text/plain; charset=UTF-8 Subject: Re: [Qemu-devel] [RFC PATCH v3 01/11] configure: Support configuring c++ compiler List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Tomoki Sekiyama Cc: mdroth@linux.vnet.ibm.com, qemu-devel@nongnu.org, lcapitulino@redhat.com, vrozenfe@redhat.com, pbonzini@redhat.com, seiji.aguchi@hds.com, areis@redhat.com On 21 May 2013 16:33, Tomoki Sekiyama wrote: > Add configuration for c++ compiler (${corss_prefix}g++ as default) in > configure and Makefiles. I think you should follow the same logic we use for picking the C compiler, so that we use 'c++' rather than 'g++' if cross_prefix isn't specified. Otherwise we'll end up on MacOSX with the odd effect of using clang for C and some ancient compiler for C++... > Currently, usage of c++ language is only for access to Windows VSS > using COM+ services in qemu-guest-agent for Windows. ...which isn't important for this use, but I'm sure once configure has support for C++ it'll spread to other uses later. thanks -- PMM