From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7911 invoked by alias); 14 Oct 2002 20:08:38 -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 7900 invoked from network); 14 Oct 2002 20:08:36 -0000 Received: from unknown (HELO uha.cs.bris.ac.uk) (62.30.75.143) by sources.redhat.com with SMTP; 14 Oct 2002 20:08:36 -0000 Received: from codesourcery.com (localhost.localdomain [127.0.0.1]) by uha.cs.bris.ac.uk (8.11.6/8.11.6) with ESMTP id g9EK8Of20261; Mon, 14 Oct 2002 21:08:29 +0100 Message-ID: <3DAB2438.8070106@codesourcery.com> Date: Mon, 14 Oct 2002 14:06:00 -0000 From: Nathan Sidwell Organization: Codesourcery LLC User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 X-Accept-Language: en-us, en MIME-Version: 1.0 To: DJ Delorie CC: gcc@gcc.gnu.org Subject: Re: Target ABIs with 16bit ints. References: <3DAB1BA8.9080702@codesourcery.com> <200210142000.g9EK08G07238@greed.delorie.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2002-10/txt/msg00747.txt.bz2 DJ Delorie wrote: >>doc/portability.texi says >>'The main goal of GCC was to make a good, fast compiler for machines in >>the class that the GNU system aims to run on: 32-bit machines that address >>8-bit bytes and have several general registers.' > > > There's a big difference between "run on" and "target". The *host* > must have 32 bit ints. The target doesn't need to. yes, but this needs to be made much clearer. Some parts of gcc source (libgcc) do then need to target smaller machines. And some parts of gcc will not support those ABIs or not be language conforming (C++ & its stl, c99 mode, java? at least) nathan -- Dr Nathan Sidwell :: http://www.codesourcery.com :: CodeSourcery LLC 'But that's a lie.' - 'Yes it is. What's your point?' nathan@codesourcery.com : http://www.cs.bris.ac.uk/~nathan/ : nathan@acm.org