public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: lamikr <lamikr@cc.jyu.fi>
To: gcc-help@gcc.gnu.org
Subject: Re: Compiling with -msoft-float
Date: Tue, 19 Jul 2005 00:19:00 -0000	[thread overview]
Message-ID: <42DC4710.1090606@cc.jyu.fi> (raw)
In-Reply-To: <4291F104.5070204@beosgreece.com>

Hi!

I suggest you to download the crosstool 0.35. With it it is easy to 
build own crosscompiler with soft-fp support.
It has lot of examples for different target cpu, target gcc and target 
glibc.
Just extract it and check demo-*.sh scripts...

But I have also a questiong for you? Could you send the test program you 
are using for me?
I am working with HP iPaq H6340 that has TI's arm925 cpu and I need 
somehow find out whether this CPU supports
fp or do I need to use soft-fp instead.
I have gcc 4.0 for this CPU without soft-fp support and at least some 
simple apps which make divisions and multibles with doubles
seems to work just fine. But before being sure I need more comprehensive 
test apps...

Mika

Athanasios Anastasiou wrote:

> Hello All
>
> I am developing a quasi realtime DSP application in C++ that is to be
> ported later to an ARM processor. As far as i know this processor does
> not have an FPU.
> To get an estimate on the performance penalty, i tried to g++ -o MyTest
> MyTest.cpp -msoft-float on the development machine (Suse 9.1
> proffesional) but i get a load of linker errors reporting that specific
> low level math instructions "can not be found"
>
> After a search through the internet and the gcc mailing lists i found
> out a lot of fragmeneted information about this subject.
>
> Could you please provide a simple walk through procedure where a "Hello
> Soft Floating Point World" is compiled with -msoft-float succesfuly? 
> (If this is possible...Or any other helpful comment on the subject?)
>
> In case i have not looked thoroughly, could you please provide any
> links, books, physical places, that compiling with soft floating point
> is dealt with in detail?
>
> All the best.
> thanOS
>
>

      parent reply	other threads:[~2005-07-19  0:19 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-23 15:05 Athanasios Anastasiou
2005-05-23 15:48 ` Eljay Love-Jensen
2005-05-23 15:59   ` Athanasios Anastasiou
2005-07-19  0:19 ` lamikr [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=42DC4710.1090606@cc.jyu.fi \
    --to=lamikr@cc.jyu.fi \
    --cc=gcc-help@gcc.gnu.org \
    /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).