From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14636 invoked by alias); 28 Apr 2016 16:55:32 -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 14616 invoked by uid 89); 28 Apr 2016 16:55:31 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.3 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2 spammy=Hx-languages-length:525, augment, UD:gcc X-HELO: mailrelay7.public.one.com Received: from mailrelay7.public.one.com (HELO mailrelay7.public.one.com) (91.198.169.215) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Thu, 28 Apr 2016 16:55:21 +0000 X-HalOne-Cookie: 20f9f2329f32f86229c1fdd6ca89053cdbc1265e X-HalOne-ID: fa6a766a-0d61-11e6-bb5b-b82a72cffc46 Received: from localhost.localdomain (unknown [91.135.11.213]) by smtpfilter4.public.one.com (Halon Mail Gateway) with ESMTPSA; Thu, 28 Apr 2016 16:55:13 +0000 (UTC) Subject: Re: [PATCHv2 0/7] ARC: Add support for nps400 variant To: Andrew Burgess , gcc-patches@gcc.gnu.org References: <57222CCF.1090109@amylaar.uk> Cc: noamca@mellanox.com, Claudiu.Zissulescu@synopsys.com From: Joern Wolfgang Rennecke Message-ID: <57224071.1020905@amylaar.uk> Date: Thu, 28 Apr 2016 16:55:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0 MIME-Version: 1.0 In-Reply-To: <57222CCF.1090109@amylaar.uk> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2016-04/txt/msg01872.txt.bz2 On 28/04/16 16:31, Joern Wolfgang Rennecke wrote: > > However, setting defaults and multilib sets at gcc configure time is > also quite useful, as otherwise every user is confronted with building > multilibs for a burgeoning array of variants. P.S.: One way to do this is to add introduce a new macro SUBTARGET_SELF_SPECS, to augment DRIVER_SELF_SPECS, and use config.gcc to set this in tm_defines to "%{!mcpu:-mcpu=nps400}" for this subtarget to set the default cpu.