From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16131 invoked by alias); 22 Oct 2002 21:43:51 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 16124 invoked from network); 22 Oct 2002 21:43:51 -0000 Received: from unknown (HELO mail-out1.apple.com) (17.254.0.52) by sources.redhat.com with SMTP; 22 Oct 2002 21:43:51 -0000 Received: from mailgate1.apple.com (A17-128-100-225.apple.com [17.128.100.225]) by mail-out1.apple.com (8.11.3/8.11.3) with ESMTP id g9MLhoi20573 for ; Tue, 22 Oct 2002 14:43:50 -0700 (PDT) Received: from scv3.apple.com (scv3.apple.com) by mailgate1.apple.com (Content Technologies SMTPRS 4.2.5) with ESMTP id ; Tue, 22 Oct 2002 14:43:37 -0700 Received: from apple.com (mrs.apple.com [17.201.24.155]) by scv3.apple.com (8.11.3/8.11.3) with ESMTP id g9MLho716829; Tue, 22 Oct 2002 14:43:50 -0700 (PDT) Date: Tue, 22 Oct 2002 18:02:00 -0000 Subject: Re: porting gcc Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v546) Cc: dooms@student.info.ucl.ac.be (=?ISO-8859-1?Q?Gr=E9goire_Dooms?=), gcc@gcc.gnu.org To: Andrew Haley From: Mike Stump In-Reply-To: <15797.41590.824194.255887@cuddles.cambridge.redhat.com> Message-Id: <59BE9346-E607-11D6-802D-000393941EE6@apple.com> Content-Transfer-Encoding: 7bit X-SW-Source: 2002-10/txt/msg01384.txt.bz2 On Tuesday, October 22, 2002, at 12:09 PM, Andrew Haley wrote: > =?iso-8859-1?Q?Gr=E9goire=5FDooms?= writes: >> I'd like to port gcc to the Microchip PIC 8 bit microcontroller >> familly. > > Ouch. Are you really sure that you want to do this? Sure. They aren't going to run gtk+ on it, promise, but I don't see any reason why: char c1, c2, c3; main() { c1 = c2 + c3; } can't work at least as well as the existing compilers for PIC. They don't care if all of java doesn't work. For the above program, it isn't that hard to get gcc to generate and emit code.