public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* RE: [ECOS] Trouble with memory layout and config tool
@ 2000-11-21 14:34 Fabrice Gautier
  2000-11-21 14:57 ` Jonathan Larmour
  0 siblings, 1 reply; 4+ messages in thread
From: Fabrice Gautier @ 2000-11-21 14:34 UTC (permalink / raw)
  To: 'Jonathan Larmour'; +Cc: Ecos-List (E-mail)

> -----Original Message-----
> From: Jonathan Larmour [ mailto:jlarmour@cygnus.co.uk ]
> Subject: Re: [ECOS] Trouble with memory layout and config tool
> 
> This may be a separate change in the pkgconf/rules.mak file 
> in the most
> recent anon CVS update.
> 
> Can you try the attached rules.mak file, and put it in 
> pkgconf/rules.mak in

This is the same that the one I have from CVS, rev 1.2. Reverting back to
rev 1.1 didn;t help.

> your repository. Failing that can you tell me what the MLT line is in
> hal/i386/pc/current/makefile in your build tree?

There is:

MLT := $(wildcard $(REPOSITORY)/$(PACKAGE)/include/pkgconf/mlt*.ldi
$(REPOSITORY)/$(PACKAGE)/include/pkgconf/mlt*.h)

Thanks
-- 
Fabrice Gautier
fabrice_gautier@sdesigns.com 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [ECOS] Trouble with memory layout and config tool
  2000-11-21 14:34 [ECOS] Trouble with memory layout and config tool Fabrice Gautier
@ 2000-11-21 14:57 ` Jonathan Larmour
  0 siblings, 0 replies; 4+ messages in thread
From: Jonathan Larmour @ 2000-11-21 14:57 UTC (permalink / raw)
  To: Fabrice Gautier; +Cc: Ecos-List (E-mail)

Fabrice Gautier wrote:
> 
> > -----Original Message-----
> > From: Jonathan Larmour [ mailto:jlarmour@cygnus.co.uk ]
> > Subject: Re: [ECOS] Trouble with memory layout and config tool
> >
> > This may be a separate change in the pkgconf/rules.mak file
> > in the most
> > recent anon CVS update.
> >
> > Can you try the attached rules.mak file, and put it in
> > pkgconf/rules.mak in
> 
> This is the same that the one I have from CVS, rev 1.2. Reverting back to
> rev 1.1 didn;t help.

Oops. I was getting confused by an internal discussion about revamping it
more.

> > your repository. Failing that can you tell me what the MLT line is in
> > hal/i386/pc/current/makefile in your build tree?
> 
> There is:
> 
> MLT := $(wildcard $(REPOSITORY)/$(PACKAGE)/include/pkgconf/mlt*.ldi
> $(REPOSITORY)/$(PACKAGE)/include/pkgconf/mlt*.h)

Which is fine.

Reverting to 1.1 should have helped though. I'm pretty sure the problem is
because of the change from 1.1 to 1.2. In the 1.1 version timestamps were
compared (cp -u) before installing the mlt files. In 1.2 it's
unconditionally overwritten, which is a bug that has been fixed internally
but hasn't got propagated out yet.

Jifl
-- 
Red Hat, 35 Cambridge Place, Cambridge, UK. CB2 1NS  Tel: +44 (1223) 728762
"Plan to be spontaneous tomorrow."  ||  These opinions are all my own fault

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [ECOS] Trouble with memory layout and config tool
  2000-11-21 11:55 Fabrice Gautier
@ 2000-11-21 12:53 ` Jonathan Larmour
  0 siblings, 0 replies; 4+ messages in thread
From: Jonathan Larmour @ 2000-11-21 12:53 UTC (permalink / raw)
  To: Fabrice Gautier; +Cc: Ecos-List (E-mail)

[-- Attachment #1: Type: text/plain, Size: 1226 bytes --]

Fabrice Gautier wrote:
> In fact, when i modify the layout with the graphical tool, then save the
> changes the genreated files are updated: include/pkgconf/mlt_i386_pc_ram.h
> ad mlt_i386_pc_ram.ldi. But then when i build, it seems like they're
> overwritten by the originals files from the source tree.
> 
> I noticed that if i delete those generated files from the source tree it
> works.
> Does these generated files really belongs in the source tree??

Yes, they are defaults - although they aren't needed in your case if you're
changing the configuration.
 
> I used to have a user section previously and didn't noticed such problem
> (but some other) but since then I updated to the latest config tool (1.3.1.2
> - which corrected my other problems)

This may be a separate change in the pkgconf/rules.mak file in the most
recent anon CVS update.

Can you try the attached rules.mak file, and put it in pkgconf/rules.mak in
your repository. Failing that can you tell me what the MLT line is in
hal/i386/pc/current/makefile in your build tree?

Jifl
-- 
Red Hat, 35 Cambridge Place, Cambridge, UK. CB2 1NS  Tel: +44 (1223) 728762
"Plan to be spontaneous tomorrow."  ||  These opinions are all my own fault
rules.mak.gz


[-- Attachment #2: rules.mak.gz --]
[-- Type: application/x-gzip, Size: 1499 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [ECOS] Trouble with memory layout and config tool
@ 2000-11-21 11:55 Fabrice Gautier
  2000-11-21 12:53 ` Jonathan Larmour
  0 siblings, 1 reply; 4+ messages in thread
From: Fabrice Gautier @ 2000-11-21 11:55 UTC (permalink / raw)
  To: Ecos-List (E-mail)

Hi,

i have some trouble with the memory layout.
I've added a user defined section in my project but it never appears in the
linker script.

In fact, when i modify the layout with the graphical tool, then save the
changes the genreated files are updated: include/pkgconf/mlt_i386_pc_ram.h
ad mlt_i386_pc_ram.ldi. But then when i build, it seems like they're
overwritten by the originals files from the source tree.

I noticed that if i delete those generated files from the source tree it
works.
Does these generated files really belongs in the source tree??

I used to have a user section previously and didn't noticed such problem
(but some other) but since then I updated to the latest config tool (1.3.1.2
- which corrected my other problems)

Thanks 

-- 
Fabrice Gautier
fabrice_gautier@sdesigns.com 

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2000-11-21 14:57 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-11-21 14:34 [ECOS] Trouble with memory layout and config tool Fabrice Gautier
2000-11-21 14:57 ` Jonathan Larmour
  -- strict thread matches above, loose matches on Subject: below --
2000-11-21 11:55 Fabrice Gautier
2000-11-21 12:53 ` Jonathan Larmour

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).