public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] Nonsynth! ecos to glibc linux Adaptor.
@ 2006-05-15  5:33 John Carter
  0 siblings, 0 replies; only message in thread
From: John Carter @ 2006-05-15  5:33 UTC (permalink / raw)
  To: ecos-discuss

Ok, our code compiles and links and runs and runs unit tests on ecos on
an embedded sparc-a-like leon and ecos synth on i386 hosted on linux.

The only trouble is ecos synth is really good for debugging ecos, but
fairly limiting for debugging our code.

When we started development the fact that synth was eCos was a very very
Good Thing.

But now as the proportion of the code in the system shifts from ecos
with a smattering of Our Stuff, to Mostly Our stuff with Ecos way down
there somewhere... The cost benefit ratio for unit testing on eCos synth
vs unit testing on Vanilla Linux shifts.

There are just too many additional tools that just work really much
better in the vanilla Linux environment than in the hermetically sealed
very narrow interfaces statically linked eCos synth environment. eg.
Valgrind, expect, mudflap,gui front ends,ltrace,strace,gcov,gprof...


So now I'm thinking, I could easily copy&paste the kapi.h header file
and write a very thin adaptor from the ecos kernel calls to linux
glibc...

ie. Our unit tests would then be vanilla linux glibc processes.

Question to this group:

Does anyone already have such an Adaptor?





John Carter                             Phone : (64)(3) 358 6639
Tait Electronics                        Fax   : (64)(3) 359 4632
PO Box 1645 Christchurch                Email : john.carter@tait.co.nz
New Zealand

Carter's Clarification of Murphy's Law.

"Things only ever go right so that they may go more spectacularly wrong later."

From this principle, all of life and physics may be deduced.

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-05-15  5:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-05-15  5:33 [ECOS] Nonsynth! ecos to glibc linux Adaptor John Carter

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