From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 606 invoked by alias); 13 Aug 2003 15:44:02 -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 598 invoked from network); 13 Aug 2003 15:44:02 -0000 Received: from unknown (HELO main.gmane.org) (80.91.224.249) by sources.redhat.com with SMTP; 13 Aug 2003 15:44:02 -0000 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19mxoK-0002Xp-00 for ; Wed, 13 Aug 2003 17:45:16 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: gcc@gcc.gnu.org Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19mxoJ-0002Xh-00 for ; Wed, 13 Aug 2003 17:45:15 +0200 Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 19mxn7-0003q1-00 for ; Wed, 13 Aug 2003 17:44:01 +0200 From: Ben Elliston Subject: Re: Porting gcc Date: Wed, 13 Aug 2003 16:07:00 -0000 Message-ID: <87lltxh8ao.fsf@sashimi.wasabisystems.com> References: <006f01c36176$2f6fd800$7303230a@PTR> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 X-SW-Source: 2003-08/txt/msg00841.txt.bz2 "Petar Penchev" writes: > Target.c target.h and target.md files are complementary to one > another. I mean they have common purpose (to define target > machine). I am wondering are there any tools which could help me to > create /or better to generate / these files or I have to write them > from scratch ? There are no automatic generators, although there was some discussion once about using CGEN to assist in the generation of the machine description file. The usual approach is to take the most similar existing port, copy those files and start with those. > And second question in Amazon.com I found some books on porting GCC, > does anybody know something about on-line version of these books ? If the one you are looking at is the one published by the FSF, then the book's contents are available in the GCC source tree. Also, see: http://gcc.gnu.org/onlinedocs/ Ben