From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24609 invoked by alias); 31 May 2007 21:44:59 -0000 Received: (qmail 24601 invoked by uid 22791); 31 May 2007 21:44:58 -0000 X-Spam-Check-By: sourceware.org Received: from mail.cipher.com (HELO cipher.com) (198.107.56.73) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 31 May 2007 21:44:56 +0000 Received: from [10.0.0.98] ([10.0.0.98]) by cipher.com with Microsoft SMTPSVC(6.0.3790.1830); Thu, 31 May 2007 14:44:54 -0700 Message-ID: <465F41D6.6070006@cipher.com> Date: Thu, 31 May 2007 22:20:00 -0000 From: Jim Seymour User-Agent: Thunderbird 2.0.0.0 (Windows/20070326) MIME-Version: 1.0 To: ecos-discuss@ecos.sourceware.org References: <465DBB45.3070802@cipher.com> <20070530181445.GE32489@lunn.ch> <465F1B6E.4090007@cipher.com> <20070531210723.GB5944@lunn.ch> In-Reply-To: <20070531210723.GB5944@lunn.ch> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Subject: Re: [ECOS] CDL define_proc: Unable to put "extern" in an include files X-SW-Source: 2007-05/txt/msg00223.txt.bz2 Andrew Lunn wrote: > May you are attacking the problem from the wrong end. Could the > extern be placed somewhere else? Code which is using the symbol > CYGNUM_HAL_RTC_PERIOD probably has include hal_platform_ints.h or > plf_io.h. We tried putting it in plf_arch.h - but that had the same problem. My suspicion is that any .h we find will also get invoked while building "heapgeninc.tcl" and/or "target.ld". However, I'll dig into that and see if I can find something... -- Jim Seymour, Cipher Systems, Inc., 503-617-7447, http://www.cipher.com -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss