This is the mail archive of the
newlib@sources.redhat.com
mailing list for the newlib project.
Re: i386 and soft-float
- From: Joel Sherrill <joel dot sherrill at OARcorp dot com>
- To: Timo Ketola <timo dot ketola at epec dot fi>
- Cc: "J. Johnston" <jjohnstn at redhat dot com>, newlib at sources dot redhat dot com
- Date: Fri, 16 May 2003 07:45:33 -0500
- Subject: Re: i386 and soft-float
- Organization: OAR Corporation
- References: <OF83FFD1B0.989FC64C-ONC1256D24.004DA536@qem.it> <3EC1D1FF.2000800@epec.fi> <3EC264BD.7080100@redhat.com> <3EC48DBB.4090102@epec.fi>
Timo Ketola wrote:
>
> J. Johnston wrote:
> > What multilibs get built is controlled by gcc. See FAQ #5 on the
> > newlib web-site. If multilibs are built, then using the associated
> > commands when you compile/link will link with the correct library.
>
> So, as "gcc -print-multi-lib" prints out ".;", I'm out of luck, I guess
> (without resorting to compile the gcc myself, of course)?
>
> "gcc -v" prints "gcc version 3.2 20020903 (Red Hat Linux 8.0 3.2-7)".
AFAIK i386-rtems is the only target to include multlibs on the x86
target.
$ i386-rtems-gcc -print-multi-lib
.;
m486;@mcpu=i486
mpentium;@mcpu=pentium
mpentiumpro;@mcpu=pentiumpro
k6;@mcpu=k6
athlon;@mcpu=athlon
soft-float;@msoft-float
soft-float/nofp;@msoft-float@mno-fp-ret-in-387
m486/soft-float;@mcpu=i486@msoft-float
RTEMS users like them because you get soft-float libraries and
more optimized libraries.
Look at gcc/config/i386/t-rtems-i386 for the magic.
> --
>
> Timo
--
Joel Sherrill, Ph.D. Director of Research & Development
joel@OARcorp.com On-Line Applications Research
Ask me about RTEMS: a free RTOS Huntsville AL 35805
Support Available (256) 722-9985