This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Build Issues
- From: "Anand Kulkarni" <anand at chatura dot com>
- To: "Julian Smart" <julians at redhat dot com>, "Jonathan Larmour" <jlarmour at redhat dot com>
- Cc: <ecos-discuss at sources dot redhat dot com>
- Date: Fri, 8 Feb 2002 17:52:12 -0500
- Subject: Re: [ECOS] Build Issues
- References: <006401c1af2e$055641e0$de6f29ca@beatle> <4.2.0.58.20020208115157.021e5880@pop>
- Reply-to: "Anand Kulkarni" <anand at chatura dot com>
Hi,
I compared the rules.mak under /ecos/packages/pkgconf/rules.mak of the
version i downloaded 1.3.1 and the one from cvs.
The following pattern:
----------------------
%.d : %.c
ifeq ($(HOST),CYGWIN)
echo "Iam here 4"
@mkdir -p `cygpath -w "$(dir $@)" | sed "s@\\\\@/@g"`
else
@mkdir -p $(dir $@)
endif
$(CC) -c $(INCLUDE_PATH) -I$(dir $<) $(CFLAGS) -Wp,-MD,$(@:.d=.tmp) -o
$(@:.d=.o) $<
@sed -e '/^ *\\/d' -e "s#.*: #$@: #" $(@:.d=.tmp) > $@
@rm $(@:.d=.tmp)
Was modified as:
-----------------
%.d : %.c
@mkdir -p $(dir $@)
$(CC) -c $(INCLUDE_PATH) -I$(dir $<) $(CFLAGS) -Wp,-MD,$(@:.d=.tmp) -o
$(@:.d=.o) $<
@sed -e '/^ *\\/d' -e "s#.*: #$@: #" $(@:.d=.tmp) > $@
@rm $(@:.d=.tmp)
Atleast I can proceeed !!
Thanks for your inputs.
Regards
anand
----- Original Message -----
From: "Julian Smart" <julians@redhat.com>
To: "Jonathan Larmour" <jlarmour@redhat.com>; "Anand Kulkarni"
<anand@chatura.com>
Cc: <ecos-discuss@sources.redhat.com>
Sent: Friday, February 08, 2002 6:53 AM
Subject: Re: [ECOS] Build Issues
> At 06:55 PM 2/7/02 +0000, Jonathan Larmour wrote:
> >I'm curious as to why we haven't seen this internally. It does seem like
a
> >genuine problem. It's the host tools that have generated this. I'll get
> >this fixed.
> >
> >Julian, it's specifically line 454 of build.cxx. I've fixed it now. But
why
> >haven't we seen this before? It's been like this since July last year!
Can
> >you maybe verify my fix does work on Windows (which would sorta imply
> >verifying it didn't work before my fix too :-\).
>
> Yes, it's very very strange, I don't know why we didn't see this either.
I've
> just reproduced this here on an ARM target.
>
> Regards,
>
> Julian
> --
> Red Hat UK Ltd, Unit 200 Rustat House, 62 Clifton Road, Cambridge, UK. CB1
7EG Tel: +44 (1223) 271063