All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Felipe Castro <felipecpc1@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] Soft float point
Date: Thu, 03 Sep 2009 15:01:10 +0200	[thread overview]
Message-ID: <4A9FBE16.4080703@domain.hid> (raw)
In-Reply-To: <7a15153d0909030551xbda7cb3kf600e8094606625@domain.hid>

Felipe Castro wrote:
> Hi,
> 
> I'm having some problems to compile with -msoft-float. I'm using xenomai
> in a PXA270 processor.
> So to get a task with 5ms resolution for example, e need to compile with
> -msoft-float parameter right?
> 
> My toolchain must be prebuilt to use a soft float point ?
> Should i recompile xenomai with -msoft-float ?

Yes hard floats are not implemented on PXA. You MUST recompile Xenomai
user-space with -msoft-float. Normally toolchains allow generating
soft-floats. But, because there is always a but:

If you do not use EABI, the whole root filesystem must be compiled with
-msoft-float. Including the glibc. With EABI, on the other hand, you can
mix soft floats and hard float code.

A lot of people use CodeSourcery toolchains on ARM. Normally, with
Xenomai 2.4.9, the latest one should work.

-- 
                                          Gilles



      reply	other threads:[~2009-09-03 13:01 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-03 12:51 [Xenomai-help] Soft float point Felipe Castro
2009-09-03 13:01 ` Gilles Chanteperdrix [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=4A9FBE16.4080703@domain.hid \
    --to=gilles.chanteperdrix@xenomai.org \
    --cc=felipecpc1@domain.hid \
    --cc=xenomai@xenomai.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.