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:
qiuyiuestc 2010-02-06 14:58:17 +00:00
parent 5678d65e15
commit ce9eba9e53
3 changed files with 21 additions and 0 deletions

12
libc/minilibc/math.c Normal file
View 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
View File

@ -0,0 +1,4 @@
#ifndef __STDIO_H__
#define __STDIO_H__
#endif

5
libc/minilibc/stdio.h Normal file
View File

@ -0,0 +1,5 @@
#ifndef __STDIO_H__
#define __STDIO_H__
#endif