This is the mail archive of the crossgcc@sourceware.cygnus.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more infromation.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: -msoft-float for mipsel-linux?


Kai Ruottu wrote:

>  You wrote that your CPU is idt3051... Does it have a 'FPU' ?  If it
> doesn't, it could be nice to have the '-msoft-float' as the default
> or as the only choice for this target...
> [snip]
>
> Cheers, Kai

dear kai,

  idt3051 doesn't have a fpu (idt3081 does)

    i discover i have to add -msoft-float to both 'CFLAGS=' and
'LDFLAGS='
     for those 2 stage (compile & link) writing style Makefile :<

      libgcc.a with -msoft-float works ok
      now problem goes to printf of glibc
      because if i printf("%d",(int)float);
       the result is correct

     still checking....



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]