From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 37331 invoked by alias); 29 May 2015 14:45:54 -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 37317 invoked by uid 89); 29 May 2015 14:45:53 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 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; Fri, 29 May 2015 14:45:50 +0000 Received: from svr-orw-fem-05.mgc.mentorg.com ([147.34.97.43]) by relay1.mentorg.com with esmtp id 1YyLXd-0004Qq-Sd from Sandra_Loosemore@mentor.com ; Fri, 29 May 2015 07:45:45 -0700 Received: from [IPv6:::1] (147.34.91.1) by svr-orw-fem-05.mgc.mentorg.com (147.34.97.43) with Microsoft SMTP Server id 14.3.224.2; Fri, 29 May 2015 07:45:45 -0700 Message-ID: <55687B4B.9000200@codesourcery.com> Date: Fri, 29 May 2015 15:41:00 -0000 From: Sandra Loosemore User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130329 Thunderbird/17.0.5 MIME-Version: 1.0 To: Mike Frysinger CC: , Subject: Re: [PATCH] nios2-linux: add missing cpp specs References: <1432742409-23547-1-git-send-email-vapier@gentoo.org> In-Reply-To: <1432742409-23547-1-git-send-email-vapier@gentoo.org> Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2015-05/txt/msg02797.txt.bz2 On 05/27/2015 10:00 AM, Mike Frysinger wrote: > Define CPP_SPEC for nios2 linux targets so that -posix & -pthread work > like on all other linux targets. > > 2015-05-27 Mike Frysinger > > * config/nios2/linux.h (CPP_SPEC): Define. I see that -posix is not documented at all in invoke.texi and -pthread is documented only for RS6000 and Solaris (which is not Linux). What, exactly, are these options supposed to do on "all other linux targets"? If these options are supposed to be generic to all Linux targets, can't they be handled in some common way instead of duplicating the CPP_SPEC code in all the individual back ends? -Sandra