fenv - undefined reference to `__FSL__ieee_status'

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

fenv - undefined reference to `__FSL__ieee_status'

452 Views
agardiol
Contributor I

Hi everybody,

I try to use standard C99 fesetround function to change Cortex-M4F (S32K144) rounding mode.

Unfortunately, the linker return the following errors :

 

S32DS/arm_ewl2/EWL_C/src/arm/fenv_arm.c:234: undefined reference to `__FSL__ieee_status'
S32DS/arm_ewl2/EWL_C/src/arm/fenv_arm.c:235: undefined reference to `__FSL__ieee_status'

 

Did anyone see that already ?

My project is configured to use C99 standard in Properties->C/C++Build->Settings->Standard S32DS C Compiler->Dialect

I use s32DS 2018.R1.

Thanks by advance !

0 Kudos
1 Reply

433 Views
jiri_kral
NXP Employee
NXP Employee

Hi,

sorry for delay.I went through the EWL C library, and  the library is compiled in way, that   _FSL_ieee_status (and other HW float point stuff) is implemented by user application.

 

Jiri 

0 Kudos