From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32081 invoked by alias); 10 Apr 2008 14:42:58 -0000 Received: (qmail 31936 invoked by uid 22791); 10 Apr 2008 14:42:56 -0000 X-Spam-Check-By: sourceware.org Received: from londo.lunn.ch (HELO londo.lunn.ch) (80.238.139.98) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 10 Apr 2008 14:42:28 +0000 Received: from lunn by londo.lunn.ch with local (Exim 3.36 #1 (Debian)) id 1Jjxyl-0003Sk-00; Thu, 10 Apr 2008 16:42:19 +0200 Date: Thu, 10 Apr 2008 19:07:00 -0000 From: Andrew Lunn To: Eduardo Sabaj Cc: ecos-discuss@ecos.sourceware.org Message-ID: <20080410144219.GA9394@lunn.ch> Mail-Followup-To: Eduardo Sabaj , ecos-discuss@ecos.sourceware.org References: <47FCE8F3.3060206@hasar.com> <20080409165726.GB8526@lunn.ch> <47FD0846.9060408@hasar.com> <20080409184558.GI3552@lunn.ch> <47FE1CCC.2070001@hasar.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <47FE1CCC.2070001@hasar.com> User-Agent: Mutt/1.5.17+20080114 (2008-01-14) 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: Re: [ECOS] [Fwd: [ECOS] printf and floating point emulation] X-SW-Source: 2008-04/txt/msg00163.txt.bz2 On Thu, Apr 10, 2008 at 10:57:32AM -0300, Eduardo Sabaj wrote: > I'm working with one of the pre-built toolchains for Intel x386 which > I've downloaded some years ago. Anyway, yesterday I downloaded this same > toolchain from http://ecos.sourceware.org/getstart.html. > > I executed: > > wget --passive-ftp > ftp://ecos.sourceware.org/pub/ecos/ecos-install.tcl > sh ecos-install.tcl > > Then I compiled sprintf1.c with this new environment and the result is > the same. The program crashes with the first line with %f format. Humm. The only ideas i have are 1) Disassemble the code and see if it is still using the FPU. 2) Make sure your libgcc1.a was build with the same flags as eCos. This library from the tool chain must also not use the FPU. Andrew -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss