From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 128634 invoked by alias); 24 Apr 2015 06:19:53 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 128624 invoked by uid 89); 24 Apr 2015 06:19:52 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.8 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Fri, 24 Apr 2015 06:19:51 +0000 Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id t3O6JnR7032190 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 24 Apr 2015 02:19:49 -0400 Received: from host1.jankratochvil.net (ovpn-116-27.ams2.redhat.com [10.36.116.27]) by int-mx13.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t3O6JjKp020768 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 24 Apr 2015 02:19:47 -0400 Date: Fri, 24 Apr 2015 06:19:00 -0000 From: Jan Kratochvil To: Eli Zaretskii Cc: gdb-patches@sourceware.org, pmuldoon@redhat.com Subject: Re: [PATCH 4/4] compile: Add 'set compile-gcc' Message-ID: <20150424061944.GA1796@host1.jankratochvil.net> References: <20150421213635.14147.15653.stgit@host1.jankratochvil.net> <20150421213657.14147.60506.stgit@host1.jankratochvil.net> <83ioco4oid.fsf@gnu.org> <20150423210916.GA8816@host1.jankratochvil.net> <83h9s6yrsz.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <83h9s6yrsz.fsf@gnu.org> User-Agent: Mutt/1.5.23 (2014-03-12) X-IsSubscribed: yes X-SW-Source: 2015-04/txt/msg00926.txt.bz2 On Fri, 24 Apr 2015 08:16:28 +0200, Eli Zaretskii wrote: > > I do not think it would work on MS-Windows host as gcc/libcc1/ uses: > > # If any of these functions are missing, simply don't bother building > > # this plugin. > > GCC_ENABLE_PLUGINS > > AC_CHECK_FUNC(socketpair, , enable_plugin=no) > > AC_CHECK_FUNC(select, , enable_plugin=no) > > AC_CHECK_FUNC(fork, , enable_plugin=no) > > AM_CONDITIONAL(ENABLE_PLUGIN, test $enable_plugin = yes) > > You underestimate the hacker power ;-) Trust me, soon enough this > will work on Windows, and these conditions will then change. So I > still think we should qualify the above logic by saying that it is > specific to Posix systems. Yes, I have changed the text so in the updated patch. Jan