tcc 0.9.25 can't compile musl (or any libc, probably). will probably need to write libc for tcc, then compile gcc or a later version of tcc with it
18 lines
325 B
C
18 lines
325 B
C
/* #define _STDLIB_DEBUG */
|
|
/* #include <math.h> */
|
|
#include <stdio.h>
|
|
/* #include <signal.h> */
|
|
/* #include <stdlib.h> */
|
|
/* #include <string.h> */
|
|
/* #include <time.h> */
|
|
/* #include <float.h> */
|
|
/* #include <setjmp.h> */
|
|
/* */
|
|
|
|
int main(int argc, char **argv) {
|
|
int *p = 0x100;
|
|
p += 1;
|
|
printf("%p\n",p);
|
|
return 0;
|
|
}
|
|
|