From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17091 invoked by alias); 9 Nov 2009 15:57:29 -0000 Received: (qmail 17082 invoked by uid 22791); 9 Nov 2009 15:57:28 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from smtp-out.google.com (HELO smtp-out.google.com) (216.239.33.17) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 09 Nov 2009 15:57:23 +0000 Received: from zps37.corp.google.com (zps37.corp.google.com [172.25.146.37]) by smtp-out.google.com with ESMTP id nA9FvKXa007177 for ; Mon, 9 Nov 2009 15:57:20 GMT Received: from pxi3 (pxi3.prod.google.com [10.243.27.3]) by zps37.corp.google.com with ESMTP id nA9FtEei006406 for ; Mon, 9 Nov 2009 07:57:18 -0800 Received: by pxi3 with SMTP id 3so1870174pxi.22 for ; Mon, 09 Nov 2009 07:57:17 -0800 (PST) Received: by 10.114.162.5 with SMTP id k5mr13928161wae.10.1257782237551; Mon, 09 Nov 2009 07:57:17 -0800 (PST) Received: from coign.google.com ([67.218.106.251]) by mx.google.com with ESMTPS id 21sm2029856pxi.0.2009.11.09.07.57.14 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 09 Nov 2009 07:57:16 -0800 (PST) To: "Paul Edwards" Cc: "Ulrich Weigand" , Subject: Re: i370 port References: <200911041646.nA4Gkx1m032222@d12av02.megacenter.de.ibm.com> <49D99EB7E50944F4A09820F1016ACA77@Paullaptop> From: Ian Lance Taylor Date: Mon, 09 Nov 2009 15:57:00 -0000 In-Reply-To: <49D99EB7E50944F4A09820F1016ACA77@Paullaptop> (Paul Edwards's message of "Tue\, 10 Nov 2009 01\:54\:34 +1100") Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-System-Of-Record: true X-IsSubscribed: yes Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org X-SW-Source: 2009-11/txt/msg00256.txt.bz2 "Paul Edwards" writes: > Now all code needs to be exposed to this. ie libiberty and > gcc. To fit in with the new style of building, I basically want > to update ansidecl.h to do a: > > #ifdef PUREISO > #include "mshort.h" > #endif > > Does that seem reasonable? The ISO C99 standard requires that an identifier have 31 significant initial characters, so PUREISO does not seem like the right name here. Based on your suggested #define's, your system seems even more restrictive than ISO C99 requires. I vaguely recall that ISO C90 requires 6 significant initial characters, so something like PURE_ISO_C90 might be right here. I can see that ansidecl.h is a tempting place to put this, but I don't think it is correct. ansidecl.h is used by many different programs, including the GNU binutils and gdb. Changes that are specific to gcc should be in gcc, probably in gcc/system.h. Changes specific to libiberty should be in libiberty, probably in include/libiberty.h. Ian