From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10953 invoked by alias); 11 Sep 2018 16:25:39 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 3633 invoked by uid 89); 11 Sep 2018 16:25:23 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy= X-HELO: relay1.mentorg.com Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 11 Sep 2018 16:25:19 +0000 Received: from nat-ies.mentorg.com ([192.94.31.2] helo=svr-ies-mbx-01.mgc.mentorg.com) by relay1.mentorg.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-SHA384:256) id 1fzlTL-0003h7-VR from Andrew_Stubbs@mentor.com for gcc-patches@gcc.gnu.org; Tue, 11 Sep 2018 09:25:04 -0700 Received: from [172.30.89.216] (137.202.0.90) by svr-ies-mbx-01.mgc.mentorg.com (139.181.222.1) with Microsoft SMTP Server (TLS) id 15.0.1320.4; Tue, 11 Sep 2018 17:24:59 +0100 Subject: Re: [PATCH 21/25] GCN Back-end (part 2/2). To: Joseph Myers CC: References: <4c633833-1954-4b62-1a96-4f1c2cf541fd@codesourcery.com> <2c6ed1ee-dc20-f139-2501-a17d22b6a6dc@codesourcery.com> From: Andrew Stubbs Message-ID: <6d354fd2-42d2-1631-2571-6063fb4fa960@codesourcery.com> Date: Tue, 11 Sep 2018 16:25:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2018-09/txt/msg00560.txt.bz2 On 05/09/18 15:44, Joseph Myers wrote: > On Wed, 5 Sep 2018, Andrew Stubbs wrote: > >> I suppose someone might choose to compile things on an alternative system for >> running on a compatible system, in which case we'd want to simply skip this >> binary. >> >> How does one normally do this? > > I'd expect a configure test plus makefile conditionals in the makefile > fragment. Is it sufficient to simply exclude it from extra_programs in config.gcc? Andrew