From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4261 invoked by alias); 4 Apr 2002 14:52:15 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 4242 invoked from network); 4 Apr 2002 14:52:10 -0000 Received: from unknown (HELO iona.dcs.gla.ac.uk) (130.209.240.35) by sources.redhat.com with SMTP; 4 Apr 2002 14:52:10 -0000 Received: from kettle.dcs.gla.ac.uk ([130.209.241.124] helo=kettle.dcs.gla.ac.uk.dcs.gla.ac.uk ident=root) by iona.dcs.gla.ac.uk with esmtp (Exim 3.13 #1) id 16t8av-0003KP-00 for gcc-help@gcc.gnu.org; Thu, 04 Apr 2002 15:52:09 +0100 Received: from kettle.dcs.gla.ac.uk by kettle.dcs.gla.ac.uk.dcs.gla.ac.uk (8.9.3/Dumb) id PAA11658; Thu, 4 Apr 2002 15:52:08 +0100 Message-Id: <200204041452.PAA11658@kettle.dcs.gla.ac.uk.dcs.gla.ac.uk> To: gcc-help@gcc.gnu.org Subject: ARM-elf cross compiler on powerpc-apple-darwin? X-url: http://www.dcs.gla.ac.uk/~michael Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 04 Apr 2002 07:11:00 -0000 From: Michael Dales X-SW-Source: 2002-04/txt/msg00041.txt.bz2 Hi there, I've been using gcc 2.95.3 as a cross compiler on ix86-linux and wanted to use it on my iBook which is running MacOS X. I understand that Apple uses a hacked version of gcc, and that AFAICT only 3.1 will build for MacOS X, but how does this work with a cross compiler? When I try to configure 2.95.3 with the target set to arm-elf, config.guess fails to detect the host arch. I then moved onto 3.0.4 which successfully configured but compiled with more warnings than I'd care to consider healthy, before failing on a syntax error in gcc/f/global.c. I'm using cross compiled binutils 2.11.2, MacOS X 10.1.3, and the December 2001 development tools. So can I possibly persuade 2.95.3 to configure and build (my preferred option, as it's what I use elsewhere) on darwin? What factors about the host does the cross compiler rely on? Many thanks, -- Michael Dales --- email: michael@dcs.gla.ac.uk --- tel: +44 141 330 6297 Department of Computing Science, University of Glasgow, Glasgow, G12 8QQ