From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4977 invoked by alias); 5 Sep 2007 11:35:36 -0000 Received: (qmail 4966 invoked by uid 22791); 5 Sep 2007 11:35:35 -0000 X-Spam-Check-By: sourceware.org Received: from quina.moeckel.org (HELO quina.moeckel.org) (217.160.223.98) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 05 Sep 2007 11:35:31 +0000 Received: from bluebird.headcrashers.bnfh (bluebird.headcrashers.org [IPv6:2001:8d8:81:a11:204:acff:fe97:190]) (authenticated bits=0) by quina.moeckel.org (8.13.8/8.13.8/Debian-3) with ESMTP id l85BZO7n010564 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Wed, 5 Sep 2007 13:35:25 +0200 Received: from executor.headcrashers.bnfh (IDENT:root@executor.headcrashers.bnfh [IPv6:2001:8d8:81:a11:209:6bff:fee0:8244]) by bluebird.headcrashers.bnfh (8.13.8/8.13.8) with ESMTP id l85BZNSa026028 for ; Wed, 5 Sep 2007 13:35:23 +0200 Received: from executor.headcrashers.bnfh (IDENT:woodstoc@localhost [127.0.0.1]) by executor.headcrashers.bnfh (8.13.8/8.13.8) with ESMTP id l85BYdn1001001 for ; Wed, 5 Sep 2007 13:34:39 +0200 (CEST) Received: (from woodstoc@localhost) by executor.headcrashers.bnfh (8.13.8/8.13.8/Submit) id l85BYdCM000875 for ecos-discuss@ecos.sourceware.org; Wed, 5 Sep 2007 13:34:39 +0200 (CEST) Date: Wed, 05 Sep 2007 11:35:00 -0000 From: Hans Rosenfeld To: ecos-discuss@ecos.sourceware.org Message-ID: <20070905113439.GA944@grumpf.hope-2000.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.2i X-IsSubscribed: yes Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Subject: [ECOS] What is Newlib actually used for? X-SW-Source: 2007-09/txt/msg00020.txt.bz2 I'm wondering what use eCos actually makes of Newlib. The Newlib libary is used when building the GCC part of the toolchain, as far as I understand libsupc++ uses it. This seems to be the reason for the undefined references to __impure_ptr in this library, as a part of it uses stdio functions for printing some kind of error message. Stdin and the like are defined by Newlib headers as members of a struct located at __impure_ptr. I think eCos never actually uses any Newlib code, so wouldn't a libsupc++ compiled with Newlib headers cause lots of problems when it's linked against eCos libraries? I don't quite understand whats the point of using Newlib and how this is supposed to work at all. I hope someone can enlighten me about this :) -- %SYSTEM-F-ANARCHISM, The operating system has been overthrown -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss