mirror of
https://github.com/frida/tinycc
synced 2025-03-01 21:51:25 +03:00

- lib/Makefile: add (win)crt1_w.o - crt1.c/_runtmain: return to tcc & only use for UNICODE (because it might be not 100% reliable with for example wildcards (tcc *.c -run ...) - tccrun.c/tccpe.c: load -run startup_code only if called from tcc_run(). Otherwise main may not be defined. See libtcc_test.c - tests2/Makefile: pass extra options in FLAGS to allow overriding TCC Also: - tccpe.c: support weak attribute. (I first tried to solve the problem above by using it but then didn't)
4 lines
58 B
C
4 lines
58 B
C
#define _UNICODE 1
|
|
#define UNICODE 1
|
|
#include "wincrt1.c"
|