From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19657 invoked by alias); 15 Oct 2003 14:41:41 -0000 Mailing-List: contact ecos-discuss-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@sources.redhat.com Received: (qmail 19645 invoked from network); 15 Oct 2003 14:41:41 -0000 Received: from unknown (HELO hermes.chez-thomas.org) (63.225.98.241) by sources.redhat.com with SMTP; 15 Oct 2003 14:41:41 -0000 Received: by hermes.chez-thomas.org (Postfix, from userid 2000) id CAD2050E12F; Wed, 15 Oct 2003 08:41:40 -0600 (MDT) Received: from localhost (localhost.localdomain [127.0.0.1]) by hermes.chez-thomas.org (Postfix) with ESMTP id 2424450E12F; Wed, 15 Oct 2003 08:41:40 -0600 (MDT) From: Gary Thomas To: James Yates Cc: ecos-discuss@sources.redhat.com In-Reply-To: References: Content-Type: text/plain Organization: MLB Associates Message-Id: <1066228899.32461.51.camel@hermes> Mime-Version: 1.0 Date: Wed, 15 Oct 2003 14:41:00 -0000 Content-Transfer-Encoding: 7bit X-Spam-Status: No, hits=-4.2 required=5.0 tests=AWL,EMAIL_ATTRIBUTION,IN_REP_TO,REFERENCES, REPLY_WITH_QUOTES,USER_AGENT_XIMIAN autolearn=ham version=2.55 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) Subject: Re: [ECOS] Problems with var_mk_defs.c X-SW-Source: 2003-10/txt/msg00255.txt.bz2 On Wed, 2003-10-15 at 08:35, James Yates wrote: > In the SH Hal architecture I am getting build problems relating to var_mk_defs.c. > If I comment out the code within int main(void), the compile problems go away. > When included, every call to DEFINE throws up a bad expression. Can anyone > explain to me what this file is actually doing, or indeed why it isn't working > as I am completely stuck. What this program does is to use the target compiler to generate machine dependent offsets within various structures used by eCos. These are necessary for various assembly coded modules as they have no other way to find data within objects (or other values defined by the C/C++ environment). We'd need to see the actual errors to be much more help. -- Gary Thomas MLB Associates -- Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos and search the list archive: http://sources.redhat.com/ml/ecos-discuss