From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25512 invoked by alias); 9 Nov 2009 14:55:00 -0000 Received: (qmail 25502 invoked by uid 22791); 9 Nov 2009 14:54:59 -0000 X-SWARE-Spam-Status: No, hits=-1.5 required=5.0 tests=AWL,BAYES_20,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail-pw0-f57.google.com (HELO mail-pw0-f57.google.com) (209.85.160.57) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 09 Nov 2009 14:54:56 +0000 Received: by pwi2 with SMTP id 2so770202pwi.16 for ; Mon, 09 Nov 2009 06:54:54 -0800 (PST) Received: by 10.115.80.15 with SMTP id h15mr13781092wal.186.1257778494474; Mon, 09 Nov 2009 06:54:54 -0800 (PST) Received: from Paullaptop (203-214-142-52.perm.iinet.net.au [203.214.142.52]) by mx.google.com with ESMTPS id 20sm2037092pxi.7.2009.11.09.06.54.50 (version=SSLv3 cipher=RC4-MD5); Mon, 09 Nov 2009 06:54:51 -0800 (PST) Message-ID: <49D99EB7E50944F4A09820F1016ACA77@Paullaptop> From: "Paul Edwards" To: "Ulrich Weigand" Cc: References: <200911041646.nA4Gkx1m032222@d12av02.megacenter.de.ibm.com> In-Reply-To: <200911041646.nA4Gkx1m032222@d12av02.megacenter.de.ibm.com> Subject: Re: i370 port Date: Mon, 09 Nov 2009 14:55:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="Windows-1252"; reply-type=original Content-Transfer-Encoding: 7bit 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/msg00250.txt.bz2 Still making great progress. The process is being simplified. I have a question. I need to remap long names to short, and I wish to use #defines to do this as it is portable. So I have a whole lot of: #define align_functions ZZZ_1 #define align_functions_log ZZZ_2 etc and I have put them all into an mshort.h for convenience. 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? Actually I also need to #include "unixio.h" to include various types that must be present, st_ino or whatever too. I may have other miscellaneous defines as well. I'm still in the process of unwinding all the hacks I put in years ago. :-) Thanks. Paul.