public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Andrew Lunn <andrew@lunn.ch>
To: Eduardo Sabaj <esabaj@hasar.com>
Cc: ecos-discuss@ecos.sourceware.org
Subject: Re: [ECOS] [Fwd: [ECOS] printf and floating point emulation]
Date: Thu, 10 Apr 2008 19:07:00 -0000	[thread overview]
Message-ID: <20080410144219.GA9394@lunn.ch> (raw)
In-Reply-To: <47FE1CCC.2070001@hasar.com>

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

      parent reply	other threads:[~2008-04-10 14:42 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-09 16:58 Eduardo Sabaj
2008-04-09 18:24 ` Andrew Lunn
2008-04-09 18:46   ` Eduardo Sabaj
2008-04-10  6:12     ` Andrew Lunn
2008-04-10 14:42       ` Eduardo Sabaj
     [not found]       ` <47FE1CCC.2070001@hasar.com>
2008-04-10 19:07         ` Andrew Lunn [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080410144219.GA9394@lunn.ch \
    --to=andrew@lunn.ch \
    --cc=ecos-discuss@ecos.sourceware.org \
    --cc=esabaj@hasar.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).