From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19276 invoked by alias); 15 May 2006 05:33:40 -0000 Received: (qmail 19268 invoked by uid 22791); 15 May 2006 05:33:39 -0000 X-Spam-Check-By: sourceware.org Received: from tel096021.tait.co.nz (HELO gatekeeper.tait.co.nz) (202.37.96.21) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 15 May 2006 05:33:33 +0000 Received: from gatekeeper.tait.co.nz (merlin.tait.co.nz [127.0.0.1]) by localhost.tait.co.nz (Postfix) with ESMTP id 8CFF715B68F for ; Mon, 15 May 2006 17:33:29 +1200 (NZST) Received: from sunstrike.tait.co.nz (unknown [172.25.40.92])by gatekeeper.tait.co.nz (Postfix) with ESMTP id CD5BE15B683for ; Mon, 15 May 2006 17:33:28 +1200 (NZST) Received: from conversion-daemon.sunstrike.tait.co.nz by sunstrike.tait.co.nz(Sun Java System Messaging Server 6.1 (built Apr 28 2004))id <0IZA00001HMLVX00@sunstrike.tait.co.nz>(original mail from john.carter@tait.co.nz)for ecos-discuss@ecos.sourceware.org; Mon, 15 May 2006 17:33:28 +1200 (NZST) Received: from parore ([172.25.140.12])by sunstrike.tait.co.nz (Sun Java System Messaging Server 6.1 (built Apr 282004)) with ESMTP id <0IZA00IZGKRSEY80@sunstrike.tait.co.nz> forecos-discuss@ecos.sourceware.org; Mon, 15 May 2006 17:33:28 +1200 (NZST) Received: from localhost ([127.0.0.1] ident=johnc)by parore with esmtp (Exim 4.34)id 1FfVhw-0000om-9c for ecos-discuss@ecos.sourceware.org; Mon,15 May 2006 17:33:28 +1200 Date: Mon, 15 May 2006 05:33:00 -0000 From: John Carter To: ecos-discuss@ecos.sourceware.org Message-id: MIME-version: 1.0 X-Mailer: Pidgeon Post Content-type: TEXT/PLAIN; format=flowed; charset=US-ASCII Content-transfer-encoding: 7BIT X-Apparently-From: mars X-Contents: May contain traces of nuts. X-imss-version: 2.040 X-imss-result: Passed X-imss-approveListMatch: *@tait.co.nz X-IsSubscribed: yes Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Subject: [ECOS] Nonsynth! ecos to glibc linux Adaptor. X-SW-Source: 2006-05/txt/msg00103.txt.bz2 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