public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* RE: [ECOS] Re: TCP/IP as a program.
@ 2001-08-16 10:22 Dan Conti
  2001-08-16 11:04 ` Grant Edwards
  0 siblings, 1 reply; 3+ messages in thread
From: Dan Conti @ 2001-08-16 10:22 UTC (permalink / raw)
  To: ecos-discuss

> -----Original Message-----
> From: Grant Edwards [ mailto:grante@visi.com ]
> Subject: [ECOS] Re: TCP/IP as a program.
>
> When testing, you do have to remember to do two makes: one to 
> recompile the 
> changed eCos source files, and a second to re-link your test app with
> the new eCos libraries.  I've created more confusion that I'd like to
> admit by by forgetting that second make. 

One thing that just occurred to me, are any of the files in install/lib
updated every time eCos is built? if so, it seems like you could make
your test app be dependant on that. I've been meaning to set up a
makefile that forces a automatic relink if the eCos libs change, for the
exact same reason as you state above. :)

-Dan

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

* Re: [ECOS] Re: TCP/IP as a program.
  2001-08-16 10:22 [ECOS] Re: TCP/IP as a program Dan Conti
@ 2001-08-16 11:04 ` Grant Edwards
  0 siblings, 0 replies; 3+ messages in thread
From: Grant Edwards @ 2001-08-16 11:04 UTC (permalink / raw)
  To: Dan Conti; +Cc: ecos-discuss

On Thu, Aug 16, 2001 at 10:22:27AM -0700, Dan Conti wrote:
> > -----Original Message-----
> > From: Grant Edwards [ mailto:grante@visi.com ]
> > Subject: [ECOS] Re: TCP/IP as a program.
> >
> > When testing, you do have to remember to do two makes: one to 
> > recompile the 
> > changed eCos source files, and a second to re-link your test app with
> > the new eCos libraries.  I've created more confusion that I'd like to
> > admit by by forgetting that second make. 
> 
> One thing that just occurred to me, are any of the files in install/lib
> updated every time eCos is built? if so, it seems like you could make
> your test app be dependant on that. I've been meaning to set up a
> makefile that forces a automatic relink if the eCos libs change, for the
> exact same reason as you state above. :)

Yes, my application's make file has dependancies on the eCos
libraries.  But you still have to remember to do a "make" in
the application program's directory.  What I meant was to
either do the eCos make from the test app's makefile or vice
versa.  That way only one "make" is needed.

-- 
Grant Edwards
grante@visi.com

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

* [ECOS] Re: TCP/IP as a program.
  2001-08-16  1:29 [ECOS] " David.Karlberg
@ 2001-08-16  7:47 ` Grant Edwards
  0 siblings, 0 replies; 3+ messages in thread
From: Grant Edwards @ 2001-08-16  7:47 UTC (permalink / raw)
  To: David.Karlberg; +Cc: andrew.lunn, ecos-discuss

David.Karlberg@combitechsystems.com writes:

> I want to use PPP with TCP/IP and I figured it would be a lot easier to work
> with the Net pack 
> if I did not have to recompile the whole eCos everytime I want to see if my
> changes work.

A make will only recompile files that have changed.  The only time
everything gets recompiled is when you change the eCos configuration
file (ecos.ecc), and if you do that, you've got to re-compile everything 
anyway (regardless of where the files are). 

I regularly work by modifying files in the main eCos source tree, and
I don't think you're going to save much time by splitting out parts of
it. 

When testing, you do have to remember to do two makes: one to recompile the 
changed eCos source files, and a second to re-link your test app with
the new eCos libraries.  I've created more confusion that I'd like to
admit by by forgetting that second make. 

> And that I would have more control of which files are used.

I guess I never had any problems with that. 

-- 
Grant Edwards
grante@visi.com 

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

end of thread, other threads:[~2001-08-16 11:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-08-16 10:22 [ECOS] Re: TCP/IP as a program Dan Conti
2001-08-16 11:04 ` Grant Edwards
  -- strict thread matches above, loose matches on Subject: below --
2001-08-16  1:29 [ECOS] " David.Karlberg
2001-08-16  7:47 ` [ECOS] " Grant Edwards

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).