clang powerpc platform

Former-commit-id: 61ef35ff33
This commit is contained in:
norayr 2014-04-13 12:12:44 +04:00
parent a2e4f78881
commit 9f9033f667
21 changed files with 332 additions and 23 deletions

View file

@ -20,7 +20,7 @@
#include "varargs.h"
#endif
extern void *malloc(long size);
extern void *malloc(unsigned int size);
extern void exit(int status);
void (*SYSTEM_Halt)();

View file

@ -15,7 +15,7 @@ uses double # as concatenation operator
//extern void *memcpy(void *dest, const void *src, long n);
extern void *memcpy(void *dest, const void *src, size_t n);
extern void *malloc(long size);
extern void *malloc(unsigned int size);
extern void exit(int status);
#define export

View file

@ -239,9 +239,10 @@ TYPE
"#include <unistd.h>";
(* for system() *)
PROCEDURE -includeStdlib()
(* commented, doesn't compile on 32bit GNU/Linux platforms
PROCEDURE -includeStdlib()
"#include <stdlib.h>";
*)
(* for nanosleep() *)
PROCEDURE -includeTime()
"#include <time.h>";