mirror of
https://git.planet-casio.com/Vhex-Kernel-Core/fxlibc.git
synced 2025-04-20 01:47:12 +02:00
math, fenv, complex: add headers through OpenLibm
This commit is contained in:
parent
99339ae9f4
commit
9de2f5c391
5 changed files with 16 additions and 3 deletions
|
@ -174,6 +174,10 @@ endif()
|
||||||
|
|
||||||
add_library(fxlibc ${SOURCES})
|
add_library(fxlibc ${SOURCES})
|
||||||
target_include_directories(fxlibc PRIVATE include/)
|
target_include_directories(fxlibc PRIVATE include/)
|
||||||
|
if(sh-generic IN_LIST TARGET_FOLDERS)
|
||||||
|
target_include_directories(fxlibc PRIVATE "${FXSDK_COMPILER_INSTALL}/include/openlibm")
|
||||||
|
endif()
|
||||||
|
|
||||||
foreach(FOLDER IN LISTS TARGET_FOLDERS)
|
foreach(FOLDER IN LISTS TARGET_FOLDERS)
|
||||||
target_include_directories(fxlibc PRIVATE include/target/${FOLDER}/)
|
target_include_directories(fxlibc PRIVATE include/target/${FOLDER}/)
|
||||||
endforeach()
|
endforeach()
|
||||||
|
|
3
STATUS
3
STATUS
|
@ -28,7 +28,6 @@ DONE: Function/symbol/macro is defined, builds, links, and is tested
|
||||||
|
|
||||||
7.3 <complex.h>
|
7.3 <complex.h>
|
||||||
Provided by Lephenixnoir's port of OpenLibm.
|
Provided by Lephenixnoir's port of OpenLibm.
|
||||||
TODO: Check standard compliance
|
|
||||||
|
|
||||||
7.4 <ctype.h>
|
7.4 <ctype.h>
|
||||||
7.4.1 is*: DONE
|
7.4.1 is*: DONE
|
||||||
|
@ -39,7 +38,6 @@ DONE: Function/symbol/macro is defined, builds, links, and is tested
|
||||||
|
|
||||||
7.6 <fenv.h>
|
7.6 <fenv.h>
|
||||||
Provided by Lephenixnoir's port of OpenLibm.
|
Provided by Lephenixnoir's port of OpenLibm.
|
||||||
TODO: Check standard compliance
|
|
||||||
|
|
||||||
7.7 <float.h>
|
7.7 <float.h>
|
||||||
Provided by GCC.
|
Provided by GCC.
|
||||||
|
@ -72,7 +70,6 @@ DONE: Function/symbol/macro is defined, builds, links, and is tested
|
||||||
|
|
||||||
7.12 <math.h>
|
7.12 <math.h>
|
||||||
Provided by Lephenixnoir's port of OpenLibm.
|
Provided by Lephenixnoir's port of OpenLibm.
|
||||||
TODO: Check standard compliance
|
|
||||||
|
|
||||||
7.13 <setjmp.h>
|
7.13 <setjmp.h>
|
||||||
7.13.1 setjmp: TEST
|
7.13.1 setjmp: TEST
|
||||||
|
|
4
include/complex.h
Normal file
4
include/complex.h
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
/* On SuperH, we use a port of OpenLibm. */
|
||||||
|
#ifdef __SUPPORT_ARCH_SH
|
||||||
|
# include <openlibm_complex.h>
|
||||||
|
#endif
|
4
include/fenv.h
Normal file
4
include/fenv.h
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
/* On SuperH, we use a port of OpenLibm. */
|
||||||
|
#ifdef __SUPPORT_ARCH_SH
|
||||||
|
# include <openlibm_fenv.h>
|
||||||
|
#endif
|
4
include/math.h
Normal file
4
include/math.h
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
/* On SuperH, we use a port of OpenLibm. */
|
||||||
|
#ifdef __SUPPORT_ARCH_SH
|
||||||
|
# include <openlibm_math.h>
|
||||||
|
#endif
|
Loading…
Add table
Reference in a new issue