rename libtcc1.c

This commit is contained in:
jiang
2014-04-30 17:35:44 +08:00
parent 5af0ea7fb8
commit ba61fd9cd1
10 changed files with 47 additions and 47 deletions

View File

@ -66,8 +66,8 @@ RUN_TCC = $(NATIVE_DEFINES) -DONE_SOURCE -run $(top_srcdir)/tcc.c $(TCCFLAGS)
DISAS = objdump -d
# libtcc test
ifdef LIBTCC1
LIBTCC1:=$(TOP)/$(LIBTCC1)
ifdef LIBCRT
LIBCRT:=$(TOP)/$(LIBCRT)
endif
all test : $(TESTS)
@ -89,7 +89,7 @@ hello-run: ../examples/ex1.c
@echo ------------ $@ ------------
$(TCC) -run $<
libtest: libtcc_test$(EXESUF) $(LIBTCC1)
libtest: libtcc_test$(EXESUF) $(LIBCRT)
@echo ------------ $@ ------------
./libtcc_test$(EXESUF) lib_path=..
@ -101,7 +101,7 @@ moretests:
$(MAKE) -C tests2
w32-prep:
cp ../libtcc1.a ../lib
cp ../libcrt.a ../lib
# test.ref - generate using cc
test.ref: tcctest.c
@ -242,4 +242,4 @@ clean:
rm -vf *~ *.o *.a *.bin *.i *.ref *.out *.out? *.out?b *.cc \
*-cc *-tcc *.exe \
hello libtcc_test vla_test tcctest[1234] ex? tcc_g tcclib.h \
../lib/libtcc1.a
../lib/libcrt.a

View File

@ -468,7 +468,7 @@ int main(int argc, char **argv) {
const char *testname = NULL;
int retval = EXIT_SUCCESS;
/* if tcclib.h and libtcc1.a are not installed, where can we find them */
/* if tcclib.h and libcrt.a are not installed, where can we find them */
for (i = 1; i < argc; ++i) {
if (!memcmp(argv[i], "lib_path=",9))
tccdir = argv[i] + 9;

View File

@ -43,7 +43,7 @@ int main(int argc, char **argv)
exit(1);
}
/* if tcclib.h and libtcc1.a are not installed, where can we find them */
/* if tcclib.h and libcrt.a are not installed, where can we find them */
if (argc == 2 && !memcmp(argv[1], "lib_path=",9))
tcc_set_lib_path(s, argv[1]+9);