This project is mirrored from https://repo.or.cz/tinycc.git.
Pull mirroring updated .
- 22 Oct, 2021 4 commits
- 10 Oct, 2021 1 commit
-
-
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.
-
- 16 Sep, 2021 1 commit
-
-
coltrane authored
-
- 02 Sep, 2021 1 commit
-
-
grischka authored
-
- 21 Aug, 2021 1 commit
-
-
Tyge Løvset authored
- E.g. "tcc version 0.9.27 mob:675046bd (x86_64 Windows)" - WIN32: Replaced compiler opt -O1 and -Os with -O2 (only 1% larger executable).
-
- 04 Aug, 2021 1 commit
-
-
grischka authored
271 insertions(+), 292 deletions(-), -21 lines, -5 files Also: - tccdefs.h: WIN32: less (no) __builtins - libtcc.c: simply ignore -arch
-
- 03 Aug, 2021 1 commit
-
-
herman ten brugge authored
Netbsd uses __UINTPTR_TYPE__ to detect gcc in machine/int_types.h
-
- 02 Aug, 2021 3 commits
-
-
Christian Jullien authored
-
Christian Jullien authored
-
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
-
- 01 Aug, 2021 1 commit
-
-
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
-
- 30 Jul, 2021 1 commit
-
-
Sam Ellicott authored
-
- 28 Jul, 2021 4 commits
-
-
Steffen Nurpmeso authored
-
Steffen Nurpmeso authored
-
Steffen Nurpmeso authored
-
Steffen Nurpmeso authored
-
- 27 Jul, 2021 2 commits
-
-
Christian Jullien authored
-
Steffen Nurpmeso authored
-
- 26 Jul, 2021 1 commit
-
-
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
-
- 17 Jul, 2021 1 commit
-
-
Sushant Pandurangi authored
-
- 10 Jul, 2021 1 commit
-
-
Brian Callahan authored
-
- 08 Jul, 2021 1 commit
-
-
Christian Jullien authored
On Big Sur M1, force a x86_64 native build and count on Rosetta to make job as arm64 is not yet supported.
-
- 07 Jul, 2021 6 commits
-
-
herman ten brugge authored
-
Christian Jullien authored
-
Christian Jullien authored
-
Christian Jullien authored
-
Sushant Pandurangi authored
-
Sushant Pandurangi authored
-
- 06 Jul, 2021 1 commit
-
-
Sushant Pandurangi authored
-
- 04 Jul, 2021 3 commits
-
-
Tyge Løvset authored
-
Sushant Pandurangi authored
-
Sushant Pandurangi authored
Supports linking using .tbd definitions found in the default installed command-line tools SDK or Xcode.app SDK. Only for creating executables (not yet for `tcc -run`).
-
- 02 Jul, 2021 1 commit
-
-
Christian Jullien authored
-
- 01 Jul, 2021 3 commits
-
-
Arthur Williams authored
Add support for some more options to generate dependency fragments. -M is likes -MD but doesn't compile anything so the command won't fail when just supplied a file without all the relevant libs. -MM and -MMD are like their counterparts but skip system libs. Note the behavior of -MD has changed to include system libs. Use -MMD for the old behavior. This matches gcc's corresponding flags
-
Arthur Williams authored
If a dash ("-") is specified to -MF, write to stdout instead of a file called "-"
-
Arthur Williams authored
-
- 28 Jun, 2021 1 commit
-
-
Christian Jullien authored
gcc compiles .h files as .c source code, tcc now does the same and no longer complains with "unrecognized file type". It is however adviced to use "-x c" option which exists for this purpose in gcc and was supported by tcc.
-