- February 9, 2016 at 2:58 pm #52824
Recently I’m working on running some benchmarking programs on MIPSfpga Linux Soc package. As the datasheet of the package stated the MIPSfpga does not have a Floating-point unit. Also I noticed that only hard-float libraries are provided in the mips-mti-linux-gnu toolchains. What should I do for compiling the code which contains floating point calculations in -msoft-float mode in order to run them in soft float mode?
Thanks in advance.February 9, 2016 at 4:42 pm #52829
I understand that you are trying to cross compile programs to run on Linux on MIPSfpga.
And these programs require soft-float libraries.
You could try using the mentor toolchain for this purpose.
ZubairLKFebruary 11, 2016 at 5:09 pm #52853
I have tried the mentor toolchain and successfully compiled my program. However I was wondering if it was possible to add soft-float library into codescape sdk toolchain manually or not? Do I need to use Linux PC to do this?