# ./configure # make gcc -o i386-tcc tcc.c ... # touch tccgen.c # make gcc -o tccgen.o ... ar rcs libtcc.a ...
There is no "gcc -o i386-tcc" after touch :-( And placing a test programs inside a source dir for a compiler is a bad practice :-) A solution to allow this practice is to replace *.c *.h with an explcit list: arm64-gen.c arm-gen.c c67-gen.c coff.h conftest.c elf.h i386-asm.c i386-asm.h i386-gen.c i386-tok.h \ il-gen.c il-opcodes.h libtcc.c libtcc.h stab.h tccasm.c tcc.c tcccoff.c tccelf.c tccgen.c tcc.h tcclib.h \ tccpe.c tccpp.c tccrun.c tcctok.h x86_64-asm.h x86_64-gen.c _______________________________________________ Tinycc-devel mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/tinycc-devel
