From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19267 invoked by alias); 20 Oct 2008 10:20:37 -0000 Received: (qmail 19254 invoked by uid 22791); 20 Oct 2008 10:20:36 -0000 X-Spam-Check-By: sourceware.org Received: from smtp2b.orange.fr (HELO smtp2b.orange.fr) (80.12.242.144) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 20 Oct 2008 10:19:57 +0000 Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf2b04.orange.fr (SMTP Server) with ESMTP id 7059E70000A3 for ; Mon, 20 Oct 2008 12:19:54 +0200 (CEST) Received: from buhrigD430 (ATuileries-108-1-1-151.w217-128.abo.wanadoo.fr [217.128.196.151]) by mwinf2b04.orange.fr (SMTP Server) with ESMTP id 47EFF700009E for ; Mon, 20 Oct 2008 12:19:54 +0200 (CEST) X-ME-UUID: 20081020101954294.47EFF700009E@mwinf2b04.orange.fr From: =?iso-8859-1?Q?Aur=E9lien_Buhrig?= To: Subject: porting gcc Date: Mon, 20 Oct 2008 10:20:00 -0000 Message-ID: <003e01c9329d$62e997e0$28bcc7a0$@Buhrig@tiempo-ic.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook 12.0 Content-Language: fr 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: 2008-10/txt/msg00378.txt.bz2 Hi, We are designing a 16-bit asynchronous microcontroller. I=92ve already port= ed bfd, binutils (including sid simulator) using cgen, and part of gdb (for asm debug only) and we are now investigating the best way to have C compiler. So my questions are: 1- How much time do you think it will take to port gcc for this platform with a quite simple instruction set, with a good porting guide? 2- What about optimizations? I suppose most of them are platform-independent and performed at RTL level, aren't they? But, generally speaking, are there many platform-dependent optimizations (I would have to do)? And is it possible or how is it complex to have a level of optimization (code compactness...) as good as commercial compiler ones (such as IAR, Keil, ACE...)? 3- Finally, some companies may port gcc for us (perhaps in this mailing list?). An idea of how much it could be? Many thanks, Aurelien