tinycc-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Tinycc-devel] revert 4b92dbf9237c5712d2ab3a2ce3fab7904c85dad2 pleas


From: Sergey Korshunoff
Subject: Re: [Tinycc-devel] revert 4b92dbf9237c5712d2ab3a2ce3fab7904c85dad2 please
Date: Fri, 6 Mar 2015 11:53:10 +0300

# ./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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]