From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23726 invoked by alias); 28 Feb 2006 15:51:17 -0000 Received: (qmail 23705 invoked by uid 22791); 28 Feb 2006 15:51:17 -0000 X-Spam-Check-By: sourceware.org Received: from sta-204-188-98-138.rockynet.com (HELO hermes.chez-thomas.org) (204.188.98.138) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 28 Feb 2006 15:51:14 +0000 Received: by hermes.chez-thomas.org (Postfix, from userid 2000) id D0B182CB01232; Tue, 28 Feb 2006 08:51:12 -0700 (MST) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by hermes.chez-thomas.org (Postfix) with ESMTP id 2D9F32CAFCB74; Tue, 28 Feb 2006 08:51:08 -0700 (MST) From: Gary Thomas To: =?ISO-8859-1?Q?J=FCrgen?= Lambrecht Cc: eCos Discussion In-Reply-To: <44047021.8090109@televic.com> References: <44047021.8090109@televic.com> Content-Type: text/plain; charset=utf-8 Date: Tue, 28 Feb 2006 17:15:00 -0000 Message-Id: <1141141840.6886.37.camel@hpl-gary.analogue-micro-ltd.com> Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Subject: Re: [ECOS] configtool bug X-SW-Source: 2006-02/txt/msg00320.txt.bz2 On Tue, 2006-02-28 at 16:45 +0100, Jürgen Lambrecht wrote: > Hello, > > I cannot find this bug back on > http://bugs.ecos.sourceware.org/query.cgi?product=eCos, and actually, if > this problem is documented, it would be no real bug, but I could not > find any documentation about it. > If this is a new problem, should I enter a bug report, or update the > configtool documentation? > Here's the bug: > > When programming, I often keep backups in the same directory, for > example of the hal_platform_setup.h file, and I call those backups e.g. > hal_platform_setup.1-01-02_2a.h. > But then the configtool also copies those backup files to the build tree > (e.g. in BUILDx_install/include/cyg/hal/) and inserts them in the > makefile (e.g. in BUILDx_build/hal/arm/at91/std_ims/current/makefile). > The compilation does not give errors, but the binary (of course) does > not run. Why not? Those files will never be referenced in any of the eCos code, so the fact that they get sloshed around by the makefile should be totally irrelevant. If your program isn't running, you need to figure out why. > This is the relavant part of the wrong makefile: > ---------------------------------------------------------------------------------- > headers: mlt_headers $(PREFIX)/include/cyg/hal/plf_io.h > $(PREFIX)/include/cyg/hal/hal_platform_setup.1-01-02_2a.h > $(PREFIX)/include/cyg/hal/hal_platform_setup.1-01-02_2b.h > $(PREFIX)/include/cyg/hal/hal_platform_setup.1-01-03_0.h > $(PREFIX)/include/cyg/hal/hal_platform_setup.h > $(PREFIX)/include/cyg/hal/hal_platform_ints.h > > $(PREFIX)/include/cyg/hal/plf_io.h: > $(REPOSITORY)/$(PACKAGE)/include/plf_io.h > ifeq ($(HOST),CYGWIN) > @mkdir -p `cygpath -w "$(dir $@)" | sed "s@\\\\\\\\@/@g"` > else > @mkdir -p $(dir $@) > endif > @cp $< $@ > @chmod u+w $@ > > $(PREFIX)/include/cyg/hal/hal_platform_setup.1-01-02_2a.h: > $(REPOSITORY)/$(PACKAGE)/include/hal_platform_setup.1-01-02_2a.h > ifeq ($(HOST),CYGWIN) > @mkdir -p `cygpath -w "$(dir $@)" | sed "s@\\\\\\\\@/@g"` > else > @mkdir -p $(dir $@) > endif > @cp $< $@ > @chmod u+w $@ > > $(PREFIX)/include/cyg/hal/hal_platform_setup.1-01-02_2b.h: > $(REPOSITORY)/$(PACKAGE)/include/hal_platform_setup.1-01-02_2b.h > ifeq ($(HOST),CYGWIN) > @mkdir -p `cygpath -w "$(dir $@)" | sed "s@\\\\\\\\@/@g"` > else > @mkdir -p $(dir $@) > endif > @cp $< $@ > @chmod u+w $@ > > $(PREFIX)/include/cyg/hal/hal_platform_setup.1-01-03_0.h: > $(REPOSITORY)/$(PACKAGE)/include/hal_platform_setup.1-01-03_0.h > ifeq ($(HOST),CYGWIN) > @mkdir -p `cygpath -w "$(dir $@)" | sed "s@\\\\\\\\@/@g"` > else > @mkdir -p $(dir $@) > endif > @cp $< $@ > @chmod u+w $@ > > $(PREFIX)/include/cyg/hal/hal_platform_setup.h: > $(REPOSITORY)/$(PACKAGE)/include/hal_platform_setup.h > ifeq ($(HOST),CYGWIN) > @mkdir -p `cygpath -w "$(dir $@)" | sed "s@\\\\\\\\@/@g"` > else > @mkdir -p $(dir $@) > endif > @cp $< $@ > @chmod u+w $@ > > -- > Jürgen Lambrecht > Development Engineer > Televic Transport Systems > http://www.televic.com > Televic NV / SA (main office) > Leo Bekaertlaan 1 > B-8870 Izegem > Tel: +32 (0)51 303045 > Fax: +32 (0)51 310670 > > -- Gary Thomas -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss