MIPS soft float

Charles Notley chnotley@gmail.com
Wed Sep 7 07:04:00 GMT 2005


I got a working x86 to mipsel soft float gcc 3.2.3, glibc 2.2.3,
binutils 2.15 toolchain using crosstool 0.35.  Never built a kernel
with it, but did build the rest of a complete distribution.

Charles Notley
>  
> 
> On 9/6/05, Matej Kupljen <matej.kupljen@ultra.si> wrote:
> >  Hi
> > 
> > I am trying to build MIPS toolchain with soft float,
> > without success :-(
> > 
> > Using crosstoll-0.35 (tried with 0.38 too) with various
> > combination of flags in mipsel.dat, like:
> > ---------------------------------------------------------- 
> > TARGET_CFLAGS="-O2 -finline-limit=10000 -msoft-float"
> > GCC_EXTRA_CONFIG="--with-float=soft --nfp"
> > GLIBC_EXTRA_CONFIG="--without-fp"
> > ---------------------------------------------------------- 
> > 
> > If I do:
> > mipsel-linux-objdump libgcc.a | grep swc1 I get:
> >   24:   e7b40028        swc1    $f20,40(sp)
> >   28:   e7b5002c        swc1    $f21,44(sp)
> >   3c:   e7b60030        swc1    $f22,48(sp)
> >   40:   e7b70034        swc1    $f23,52(sp) 
> >   14:   e7b40028        swc1    $f20,40(sp)
> >   18:   e7b5002c        swc1    $f21,44(sp)
> > ....
> > 
> > libgcca still contains FP instructions.
> > 
> > Has anybody successfully build MIPS SF toolchain?
> > 
> > BR,
> >  Matej
> > 
> > 
> > ------
> > Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
> > Want to unsubscribe? Send a note to  crossgcc-unsubscribe@sources.redhat.com
> > 
> > 
> 
>

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com



More information about the crossgcc mailing list