diff options
| author | grischka <grischka> | 2017-12-12 17:57:20 +0100 |
|---|---|---|
| committer | grischka <grischka> | 2017-12-12 17:57:20 +0100 |
| commit | d348a9a51d32cece842b7885d27a411436d7887b (patch) | |
| tree | 52a0593e253b75ba7fa8d29a487771c977cff4c1 /Makefile | |
| parent | 1a4d4b76e803a32db1168e66ad8f8b26c29c8ea0 (diff) | |
| download | tinycc-d348a9a51d32cece842b7885d27a411436d7887b.tar.gz tinycc-d348a9a51d32cece842b7885d27a411436d7887b.tar.bz2 | |
final update for 0.9.27main
tccgen.c:
- fix ldouble asm hack
- fix a VLA problem on Win64 (also x86_64-gen.c)
- patch_type(): make sure that no symbol ever changes
from global to static
tcc.c:
- tcc -vv: print libtcc1.a path also on win32
tccpe.c, tcctools.c:
- use unix LF mode to for .def output files (that is for
creating reproducible output trees)
Makefile:
- suppress some warnings when makeinfo is missing
- call 'which install' only on win32
tests/Makefile:
- change PATH only on WINNT systems (i.e. not if cross-compiling
on linux for win32)
- asm-c-connect.test: slim output and do diff
tccrun.c tccpe.c *-link.c:
- integrate former 'pe_relocate_rva()' into normal relocation
This also fixes linkage of the unwind data on WIN64 for -run
(reported by Janus Lynggaard Thorborg)
tccasm.c, tests/tcctest.c:
- fix dot (sym_index of -1 crashed in put_elf_reloc)
- massage .set a bit (see test)
other:
- #define SECTION_ABS removed
- ST_DATA Section *strtab_section: removed
- put_extern_sym2(): take int section number
Conflicts:
tccelf.c
tccpe.c
Conflicts:
tccelf.c
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 15 |
1 files changed, 8 insertions, 7 deletions
@@ -239,14 +239,15 @@ FORCE: # -------------------------------------------------------------------------- # documentation and man page tcc-doc.html: tcc-doc.texi - -makeinfo --no-split --html --number-sections -o $@ $< + makeinfo --no-split --html --number-sections -o $@ $< || true tcc.1: tcc-doc.texi - -$(TOPSRC)/texi2pod.pl $< tcc.pod - -pod2man --section=1 --center="Tiny C Compiler" --release="$(VERSION)" tcc.pod > $@ + $(TOPSRC)/texi2pod.pl $< tcc.pod \ + && pod2man --section=1 --center="Tiny C Compiler" --release="$(VERSION)" tcc.pod >tmp.1 \ + && mv tmp.1 $@ || rm -f tmp.1 tcc-doc.info: tcc-doc.texi - -makeinfo $< + makeinfo $< || true # -------------------------------------------------------------------------- # install @@ -304,7 +305,7 @@ ifneq "$(wildcard $(LIBTCC1_U))" "" endif # the msys-git shell works to configure && make except it does not have install -ifeq ($(CONFIG_WIN32)-$(shell which install >/dev/null 2>&1 || echo no),yes-no) +ifeq "$(and $(CONFIG_WIN32),$(shell which install >/dev/null 2>&1 || echo no))" "no" install-win : INSTALL = cp install-win : INSTALLBIN = cp endif @@ -349,10 +350,10 @@ tests2.%: $(MAKE) -C tests/tests2 $@ clean: - rm -f $(PROGS) $(PROGS_CROSS) tcc_p$(EXESUF) tcc.pod + rm -f tcc$(EXESUF) tcc_p$(EXESUF) *-tcc$(EXESUF) tcc.pod rm -f *~ *.o *.a *.so* *.out *.log lib*.def *.exe *.dll a.out tags TAGS - @$(MAKE) -C tests $@ @$(MAKE) -C lib $@ + @$(MAKE) -C tests $@ distclean: clean rm -f config.h config.mak config.texi tcc.1 tcc-doc.info tcc-doc.html |
