Hi,
I have been trying out Embedded Studio and ported an C IAR-project. After overcoming minor obstacles, it was possible to compile all files.
Only the linker showed two errors:
---------
Linking GTD400.elf
undefined symbol: __float32_isfinite
undefined symbol: __float64_isfinite
Build failed
----------
These two functions are used in the macro "isfinite()" which I used in one module. "math.h" is included and also the C standard is set to "gnu11"
(isinfinite() was introduced in C99)
I could solve the linker errors by switching the RTL-library from "Segger" to "Embedded Studio". I also tried to set up an sample projekt to verify
this behaviour, but in my sample project "Segger"-RTL as well as "Embedded Studio"-RTL worked perfectly.
Do you have any idea ? Thanks in advance !
Stephan
I have been trying out Embedded Studio and ported an C IAR-project. After overcoming minor obstacles, it was possible to compile all files.
Only the linker showed two errors:
---------
Linking GTD400.elf
undefined symbol: __float32_isfinite
undefined symbol: __float64_isfinite
Build failed
----------
These two functions are used in the macro "isfinite()" which I used in one module. "math.h" is included and also the C standard is set to "gnu11"
(isinfinite() was introduced in C99)
I could solve the linker errors by switching the RTL-library from "Segger" to "Embedded Studio". I also tried to set up an sample projekt to verify
this behaviour, but in my sample project "Segger"-RTL as well as "Embedded Studio"-RTL worked perfectly.
Do you have any idea ? Thanks in advance !
Stephan