tinycc/include
grischka 09808f327f tcc android-enabled (armeabi-v7a)
On an armeabi-v7a device (phone) in the termux app with
clang & make installed this passes all the tests.

Can be used as a cross compiler to create "native apps" as well.
Example 'config-extra.mak' for the cross arm-eabi-tcc:

  SYSROOT = <path_to_android_ndk...>/sysroot/usr
  TRIPLET = arm-linux-androideabi
  ANDRVER = 32

  ROOT-arm-eabi = $(SYSROOT)

  CRT-arm-eabi = {R}/lib/$(TRIPLET)/$(ANDRVER)
  LIB-arm-eabi = {B};{R}/lib/$(TRIPLET)/$(ANDRVER);{R}/lib/$(TRIPLET)
  INC-arm-eabi = {B}/lib/include;{R}/include/$(TRIPLET);{R}/include

  DEF-arm-eabi = -DTCC_TARGET_ARM -DTCC_ARM_VFP -DTCC_ARM_EABI
  DEF-arm-eabi += -DTARGETOS_ANDROID -DCONFIG_TCC_PIE -DCONFIG_NEW_DTAGS
  DEF-arm-eabi += -DCONFIG_TCC_ELFINTERP=\"/system/bin/linker\"

  # on unix replace ';' by ':'.
  $ ./configure && make cross-arm-eabi && make install
2022-07-24 09:51:32 +02:00
..
float.h include/float.h: Define DECIMAL_DIG 2022-04-28 21:44:01 +03:00
stdalign.h add C11 stdalign.h header 2019-09-08 15:04:06 +03:00
stdarg.h stdarg: always have the __builtin_va_* available 2020-04-15 22:06:52 +02:00
stdatomic.h stdatomics: tidy & cleanup 2021-04-09 10:47:35 +02:00
stdbool.h stdbool.h: Make conformant to ISOC99 2014-04-07 00:30:31 +02:00
stddef.h Only define alloca on i386/x86_64 2022-04-12 07:07:40 +02:00
stdnoreturn.h C11 conformance: Add _Noreturn, stdnoreturn.h, and partial _Alignas support 2019-03-20 15:03:27 -04:00
tccdefs.h tcc android-enabled (armeabi-v7a) 2022-07-24 09:51:32 +02:00
tgmath.h Overhauled WIN32 math and added missing functions: 2020-11-20 23:34:35 +01:00
varargs.h win64: use new headers from mingw 2009-07-18 22:06:37 +02:00