This project is mirrored from https://repo.or.cz/tinycc.git. Pull mirroring updated .
  1. 22 Oct, 2021 4 commits
  2. 10 Oct, 2021 1 commit
    • Ryan Burns's avatar
      Permit '=' character in configure options · ca11849e
      Ryan Burns authored
      By replacing the `-f 2` field selection with `-f 2-`, we select fields
      2 and beyond, so that arguments containing the '=' character are not
      truncated.
      
      This option qualifier list format is POSIX standard and tested
      to work with the `cut` program from:
      * GNU coreutils
      * macOS (FreeBSD)
      * NetBSD
      * toybox
      * busybox
      * uutils-coreutils
      
      In my case, this is useful because I'm trying to use an installation
      prefix which contains an equals sign.
      ca11849e
  3. 16 Sep, 2021 1 commit
  4. 02 Sep, 2021 1 commit
  5. 21 Aug, 2021 1 commit
  6. 04 Aug, 2021 1 commit
    • grischka's avatar
      tcc/lib: reduce number of files · 675046bd
      grischka authored
      271 insertions(+), 292 deletions(-), -21 lines, -5 files
      Also:
      - tccdefs.h: WIN32: less (no) __builtins
      - libtcc.c: simply ignore -arch
      675046bd
  7. 03 Aug, 2021 1 commit
  8. 02 Aug, 2021 3 commits
    • Christian Jullien's avatar
      e449db5f
    • Christian Jullien's avatar
    • grischka's avatar
      WAIT/POST_SEM(): generalize interface (and more) · dda95e9b
      grischka authored
      Currently used only with 'tcc_compile_sem' to protect
      tcc_compile(),  but can be used with other semaphores
      
      Also fix deadlock when tcc_enter_state() is called
      recursively for the same state, for example with
      tcc_warning() from #pragma comment(option,"...")
      
      Also:
      - libtcc.c: error1(): use cstr_[v]printf()
      - tcc.h: set TCC_USING_DOUBLE_FOR_LDOUBLE for macho-arm64
        (rather than for macho-X86_64)
      - tcc.h: define TCC_TARGET_MACHO on __APPLE__ by default
      - tcc.h: cleanup TCCState, move DEFASM token stuff to tcctok.h
      - tccgen.c: more static
      - Makefile/tcc.c: review githash
      - tccpe/tcctools: use read() instead of fgets() in pe_load_def()
        (all files opened by tcc for reading are now read via 'int fd')
      - configure/win32: don't preset CONFIG_TCCDIR (to allow to override it)
      - tcc.c -bench: do not include output/run-time
      dda95e9b
  9. 01 Aug, 2021 1 commit
    • grischka's avatar
      -W[no-]error...: features by shrinkage · 4b2c6cf3
      grischka authored
      136 insertions(+), 226 deletions(-), less 90 lines (except tests)
      only one set_flag() function required
      * can now turn off specific errors: -Werror -Wno-error=option
      * new interface: tcc_warning_c(warn_option)("format", args...);
      * new warning: -Wdiscarded-qualifiers (on by default)
      * new variable 'warn_all' for conditional warnings with -Wall
      see also the tests
      4b2c6cf3
  10. 30 Jul, 2021 1 commit
  11. 28 Jul, 2021 4 commits
  12. 27 Jul, 2021 2 commits
  13. 26 Jul, 2021 1 commit
    • grischka's avatar
      macos: yet another tbd adjustment · eadcee65
      grischka authored
      configure:
      - re-enable apple M1-arm64
      - however, with --cpu=x86_64,  set -arch in CFLAGS/LDFLAGS too
        (assume rosetta)
      
      Makefile:
      - re-enable osx cross-test (Please do not disable tests)
      
      tcc.h
      - set TCC_IS_NATIVE for TCC_TARGET_MACHO on __APPLE__
      - apply TCC_USING_DOUBLE_FOR_LDOUBLE for x86_64-osx
      
      libtcc.c:
      - cleanup tcc_add_file_internal()
      - new function char *tcc_load_text(int fd); and use it for tbd files
      eadcee65
  14. 17 Jul, 2021 1 commit
  15. 10 Jul, 2021 1 commit
  16. 08 Jul, 2021 1 commit
  17. 07 Jul, 2021 6 commits
  18. 06 Jul, 2021 1 commit
  19. 04 Jul, 2021 3 commits
  20. 02 Jul, 2021 1 commit
  21. 01 Jul, 2021 3 commits
  22. 28 Jun, 2021 1 commit