All of lore.kernel.org
 help / color / mirror / Atom feed
* software floating point
  2000-08-28 18:04 ` Cal Erickson
@ 2000-08-29  4:11   ` ÁֹαÔ
  2000-08-29  4:48     ` Graham Stoney
  0 siblings, 1 reply; 4+ messages in thread
From: ÁÖ¹Î±Ô @ 2000-08-29  4:11 UTC (permalink / raw)
  To: cal_erickson; +Cc: linuxppc-embedded


I have some questions...about soft-floating point...

I use MPC860, and I made cross develop enviroment.
Host is i386 machine. Target is MPC860.

package that I use
1. binutils-2.10
2. gcc-2.95.2
3. glibc-2.1.3 (add-ons : glibc-crypt-2.1, glibc-linuxthreads-2.1.3)

I did following steps..
First, I compile the binutils for powerpc cpu.
Second, I build cross compiler with gcc.
Third, I compile glibc for powerpc with cross compiler that I made.
Last, I re-build cross compiler include glibc for library.

When compile third step, shoud I use some options to support software floating point?
or shoud I edit some code to support software floating point?

To support software floating point, which steps should I use some special options in above steps and what option is it need?

Thank u for reading my terrible english...^ ^
Take care...


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: software floating point
  2000-08-29  4:11   ` software floating point ÁֹαÔ
@ 2000-08-29  4:48     ` Graham Stoney
  0 siblings, 0 replies; 4+ messages in thread
From: Graham Stoney @ 2000-08-29  4:48 UTC (permalink / raw)
  To: AV9N1T; +Cc: cal_erickson, linuxppc-embedded


=?iso-8859-1?B?wda5zrHU?= writes:
> I have some questions...about soft-floating point...

I suggest you read the section in the HOWTO on the subject, at:
    http://members.xoom.com/greyhams/linux/PowerPC-Embedded-HOWTO-13.html

> When compile third step, shoud I use some options to support software floating point?

You need to configure the compiler to make -msoft-float the default in step 2,
and apply the glibc patch to make it work correctly on the 860 before you do
step 3.

> To support software floating point, which steps should I use some special options in above steps and what option is it need?

The options are mentioned in the HOWTO.

Regards,
Graham
--
Graham Stoney
Principal Hardware/Software Engineer
Canon Information Systems Research Australia
Ph: +61 2 9805 2909  Fax: +61 2 9805 2929

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Software floating point
@ 2003-02-05 23:21 Chien-Lung Wu
  2003-02-06 10:51 ` Ralf Baechle
  0 siblings, 1 reply; 4+ messages in thread
From: Chien-Lung Wu @ 2003-02-05 23:21 UTC (permalink / raw)
  To: 'linux-mips@linux-mips.org'

Hi,

I am building a cross-compiler for mips-linux on my linux box.  
Everything seems fine,  except software floating point. 
How can I turn on the software floating point when I build the glibc? 
Is software floating point are supported in libm.a/libm.so or ant other
lib*?

Thanks for your help.

Chien-Lung

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Software floating point
  2003-02-05 23:21 Software floating point Chien-Lung Wu
@ 2003-02-06 10:51 ` Ralf Baechle
  0 siblings, 0 replies; 4+ messages in thread
From: Ralf Baechle @ 2003-02-06 10:51 UTC (permalink / raw)
  To: Chien-Lung Wu; +Cc: 'linux-mips@linux-mips.org'

On Wed, Feb 05, 2003 at 06:21:34PM -0500, Chien-Lung Wu wrote:

> I am building a cross-compiler for mips-linux on my linux box.  
> Everything seems fine,  except software floating point. 
> How can I turn on the software floating point when I build the glibc? 
> Is software floating point are supported in libm.a/libm.so or ant other
> lib*?

The kernel includes a floating point emulator so your hard fp code will
run fine on fpu-less code.

  Ralf

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-02-06 10:51 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-02-05 23:21 Software floating point Chien-Lung Wu
2003-02-06 10:51 ` Ralf Baechle
  -- strict thread matches above, loose matches on Subject: below --
2000-08-28 17:17 Problems of the corss-compiler Seong-kyu Ko
2000-08-28 18:04 ` Cal Erickson
2000-08-29  4:11   ` software floating point ÁֹαÔ
2000-08-29  4:48     ` Graham Stoney

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.