From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30388 invoked by alias); 5 Jun 2009 15:03:06 -0000 Received: (qmail 30213 invoked by uid 22791); 5 Jun 2009 15:03:05 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,SPF_FAIL X-Spam-Check-By: sourceware.org Received: from mx20.gnu.org (HELO mx20.gnu.org) (199.232.41.8) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 05 Jun 2009 15:02:59 +0000 Received: from mail.codesourcery.com ([65.74.133.4]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MCawa-0000sx-QA for gcc@gcc.gnu.org; Fri, 05 Jun 2009 11:02:57 -0400 Received: (qmail 20348 invoked from network); 5 Jun 2009 15:02:55 -0000 Received: from unknown (HELO digraph.polyomino.org.uk) (joseph@127.0.0.2) by mail.codesourcery.com with ESMTPA; 5 Jun 2009 15:02:55 -0000 Received: from jsm28 (helo=localhost) by digraph.polyomino.org.uk with local-esmtp (Exim 4.69) (envelope-from ) id 1MCawY-0002am-LA; Fri, 05 Jun 2009 15:02:54 +0000 Date: Fri, 05 Jun 2009 15:03:00 -0000 From: "Joseph S. Myers" To: Paul Edwards cc: gcc@gcc.gnu.org Subject: Re: i370 port In-Reply-To: <22637DCC73B54BD1B74D5A5F1939C6AF@Paullaptop> Message-ID: References: <22637DCC73B54BD1B74D5A5F1939C6AF@Paullaptop> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Detected-Operating-System: by mx20.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) 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-06/txt/msg00098.txt.bz2 On Sat, 6 Jun 2009, Paul Edwards wrote: > The port is to a pure C90 environment (ie not posix, not unix). It was a > major effort to achieve that, and it has only just been completed to the > point where the compiler recompiles itself with full optimization. The > environment where it runs is not set up to run shell scripts or makes > or test suites. It's set up to run JCL, and there's a stack of JCL card > decks to allow GCC to compile, which would be good to have included > in the i370 directory. You can test a cross compiler if you have some way of copying a test executable to the i370 system, running it and getting its output and exit status back (actually you don't need to be able to get the exit status since DejaGnu has wrappers to include it in the output if needed). There is no need for the target to be able to run shell scripts or makes. You would need to write your own DejaGnu board file that deals with copying to/from the i370 system and running programs there. The testsuite routinely runs for much more limited embedded systems (using appropriate board files). -- Joseph S. Myers joseph@codesourcery.com