This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Build Issues


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]