diff options
| author | qiuyiuestc <[email protected]> | 2010-02-06 14:58:17 +0000 |
|---|---|---|
| committer | qiuyiuestc <[email protected]> | 2010-02-06 14:58:17 +0000 |
| commit | ce9eba9e53e1634628c07a86fd4ce0095d4d5db4 (patch) | |
| tree | 8dcc9e498118d2cc865ef86fa8b4b2dfdacef2c7 | |
| parent | 5678d65e156529d56743599ab35210f583a4f121 (diff) | |
add minilibc files for gcc compiler
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@377 bbd45198-f89e-11dd-88c7-29a3b14d5316
| -rw-r--r-- | libc/minilibc/math.c | 12 | ||||
| -rw-r--r-- | libc/minilibc/math.h | 4 | ||||
| -rw-r--r-- | libc/minilibc/stdio.h | 5 |
3 files changed, 21 insertions, 0 deletions
diff --git a/libc/minilibc/math.c b/libc/minilibc/math.c new file mode 100644 index 0000000000..d86abe5877 --- /dev/null +++ b/libc/minilibc/math.c @@ -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
+}
diff --git a/libc/minilibc/math.h b/libc/minilibc/math.h new file mode 100644 index 0000000000..ac480d534a --- /dev/null +++ b/libc/minilibc/math.h @@ -0,0 +1,4 @@ +#ifndef __STDIO_H__
+#define __STDIO_H__
+
+#endif
diff --git a/libc/minilibc/stdio.h b/libc/minilibc/stdio.h new file mode 100644 index 0000000000..cf115c499a --- /dev/null +++ b/libc/minilibc/stdio.h @@ -0,0 +1,5 @@ +#ifndef __STDIO_H__
+#define __STDIO_H__
+
+#endif
+
|
