mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-01-30 02:51:33 +08:00
add minilibc files for gcc compiler
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@377 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
parent
5678d65e15
commit
ce9eba9e53
12
libc/minilibc/math.c
Normal file
12
libc/minilibc/math.c
Normal file
@ -0,0 +1,12 @@
|
||||
#include <math.h>
|
||||
|
||||
/* Fix me */
|
||||
double sin(double x)
|
||||
{
|
||||
#warning sin function not supported for this platform
|
||||
}
|
||||
|
||||
double cos(double x)
|
||||
{
|
||||
#warning cos function not supported for this platform
|
||||
}
|
4
libc/minilibc/math.h
Normal file
4
libc/minilibc/math.h
Normal file
@ -0,0 +1,4 @@
|
||||
#ifndef __STDIO_H__
|
||||
#define __STDIO_H__
|
||||
|
||||
#endif
|
5
libc/minilibc/stdio.h
Normal file
5
libc/minilibc/stdio.h
Normal file
@ -0,0 +1,5 @@
|
||||
#ifndef __STDIO_H__
|
||||
#define __STDIO_H__
|
||||
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user