I am using S32 Design Studio toolchain for S32K based project.
I am seeing following error when I started using the toolchain with latest Design Studio v2.2 (GCC v6.3). But I haven't seen this issue with GCC 4.9 version that came with Design Studio v2018.R1.
math/interpolation.h:26:12: error: 'fma' is not a member of 'std'
return ::std::fma ( t, b, ( 1.0F - t ) * a );
Can someone please help in solving this issue with new toolchain?
Appreciated the quick turnaround.
Could you also point me to the directory that you configured for $(S32DS_ARM32_EWL_DIR)?
I configured this path to the following:
But it gives me this error:
arm-none-eabi-gcc.exe: error: ewl_c9x_c++_noio.specs: No such file or directory
Well, I'm not sure what's your goal. If you can modify your code with NewLib - you can just call fma(x,y,z). With ewl you can use std::fma. (actually - in my opinion - there is no difference).
Why do you think that you need to mixed up two STD libs?
I don't want to use 2 std libs at the sametime.
But I am seeing this error if I am not using newlib.
cc1plus.exe: fatal error: lib_c++.prefix: No such file or directory
Do we have any other -specs to solve this error?
.prefix files for ewl are located (with default install path) in
You probably modified some build variables. Normally you can choose C/C++ library from menu and that's it. S32DS sets all variables automatically for chosen C/C++ library.
Here is similar thread - https://community.nxp.com/thread/455084