Hi! tcc -E -dM a.c // #define __LDBL_REDIR_DECL(name) // #define __WORDSIZE 32 // #define __stub___kernel_cosl // #define __stub___kernel_sinl // #define __stub___kernel_tanl // #define __stub_chflags // #define __stub_fattach // #define __stub_fchflags // #define __stub_fdetach // #define __stub_gtty // #define __stub_lchmod // #define __stub_revoke // #define __stub_setlogin // #define __stub_sigreturn // #define __stub_sstk // #define __stub_stty // #define __need_size_t // #define __need_NULL // #define _STDDEF_H Program received signal SIGSEGV, Segmentation fault. 0xb7671c12 in fputs () from /lib/libc.so.6 (gdb) bt #0 0xb7671c12 in fputs () from /lib/libc.so.6 #1 0x0804f741 in tcc_preprocess (s1=0x929a008) at tccpp.c:3474 #2 0x080693b5 in tcc_add_file_internal (s1=0x929a008, filename=0x92a8249 "a.c", flags=5, filetype=2) at libtcc.c:1325 #3 0x080695c6 in tcc_add_file (s=0x929a008, filename=0x92a8249 "a.c", filetype=2) at libtcc.c:1421 #4 0x0806b6f0 in main (argc=4, argv=0xbfc97af4) at tcc.c:328
I don't understand a trick with (s->ppfp = NULL). If you don't wan't output of the program source, then assign a /dev/null to it _______________________________________________ Tinycc-devel mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/tinycc-devel
