From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28832 invoked by alias); 14 Aug 2008 05:09:40 -0000 Received: (qmail 28723 invoked by uid 22791); 14 Aug 2008 05:09:38 -0000 X-Spam-Check-By: sourceware.org Received: from smtp-out.google.com (HELO smtp-out.google.com) (216.239.33.17) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 14 Aug 2008 05:08:59 +0000 Received: from spaceape13.eur.corp.google.com (spaceape13.eur.corp.google.com [172.28.16.147]) by smtp-out.google.com with ESMTP id m7E58KUY031465; Thu, 14 Aug 2008 06:08:20 +0100 Received: from smtp.corp.google.com (spacemonkey1.corp.google.com [192.168.120.115]) by spaceape13.eur.corp.google.com with ESMTP id m7E58HkE023217 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 13 Aug 2008 22:08:19 -0700 Received: from localhost.localdomain.google.com (adsl-71-133-8-30.dsl.pltn13.pacbell.net [71.133.8.30]) (authenticated bits=0) by smtp.corp.google.com (8.13.8/8.13.8) with ESMTP id m7E58Gqd014205 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 13 Aug 2008 22:08:16 -0700 To: "Sivaprasad.pv" Cc: gcc Subject: Re: Migrating from gcc-3.3 to gcc-4.2 References: <48A3B053.1080208@redpinesignals.com> From: Ian Lance Taylor Date: Thu, 14 Aug 2008 06:38:00 -0000 In-Reply-To: <48A3B053.1080208@redpinesignals.com> (Sivaprasad pv's message of "Thu\, 14 Aug 2008 09\:40\:59 +0530") Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-IsSubscribed: yes Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2008-08/txt/msg00137.txt.bz2 "Sivaprasad.pv" writes: > I want to upgrade our gcc cross compiler from gcc-3.3 to gcc-4.2. > I have made direct attempt but I got following error messages . > > error: attempt to use poisoned "TARGET_SWITCHES" > error: attempt to use poisoned "DEFAULT_SHORT_ENUMS" > error: attempt to use poisoned "SMALL_STACK" > error: attempt to use poisoned "FUNCTION_ARG_PASS_BY_REFERENCE" > error: attempt to use poisoned "MUST_PASS_IN_STACK" > error: attempt to use poisoned "FUNCTION_ARG_PARTIAL_NREGS" > error: attempt to use poisoned "EXPAND_BUILTIN_VA_ARG" > error: attempt to use poisoned "TARGET_MEM_FUNCTIONS" > error: attempt to use poisoned "CONST_COSTS" > error: attempt to use poisoned "RTX_COSTS" > error: attempt to use poisoned "ADDRESS_COST" > error: attempt to use poisoned "PROMOTE_PROTOTYPES" > error: attempt to use poisoned "INIT_TARGET_OPTABS" > > I think all these macro's are deprecated in gcc-4.2. > Can any body suggest me how to find an equivalent macro's in gcc.4.2. > Is there any specific documents available to upgrade from gcc-3.3 to > gcc-4.2 ? There is no specific document. Read the gcc 4.2 internals manual. Most of the ones you mention have changed from target macros to target hooks. Ian