  Output a tcc target info after tcc version:
    tcc version 0.9.26 - Tiny C Compiler - Copyright (C) 2001-2006 Fabrice Bellard
    target is x86, elf, Linux


diff -urN tinycc.git.old/arm-gen.c tinycc.git/arm-gen.c
--- tinycc.git.old/arm-gen.c	2015-01-13 14:46:50.000000000 +0300
+++ tinycc.git/arm-gen.c	2015-01-13 14:59:51.000000000 +0300
@@ -23,6 +23,8 @@
 
 #ifdef TARGET_DEFS_ONLY
 
+#define TARGET_CPU_NAME "ARM"
+
 #if defined(TCC_ARM_EABI) && !defined(TCC_ARM_VFP)
 #error "Currently TinyCC only supports float computation with VFP instructions"
 #endif
diff -urN tinycc.git.old/c67-gen.c tinycc.git/c67-gen.c
--- tinycc.git.old/c67-gen.c	2015-01-13 14:46:50.000000000 +0300
+++ tinycc.git/c67-gen.c	2015-01-13 14:58:34.000000000 +0300
@@ -20,6 +20,8 @@
 
 #ifdef TARGET_DEFS_ONLY
 
+#define TARGET_CPU_NAME "c67"
+
 /* #define ASSEMBLY_LISTING_C67 */
 
 /* number of available registers */
diff -urN tinycc.git.old/coff.h tinycc.git/coff.h
--- tinycc.git.old/coff.h	2015-01-13 14:46:50.000000000 +0300
+++ tinycc.git/coff.h	2015-01-13 15:19:24.000000000 +0300
@@ -3,6 +3,8 @@
 /*     COFF data structures and related definitions used by the linker    */
 /**************************************************************************/
 
+#define TARGET_EXE_NAME "coff"
+
 /*------------------------------------------------------------------------*/
 /*  COFF FILE HEADER                                                      */
 /*------------------------------------------------------------------------*/
diff -urN tinycc.git.old/elf.h tinycc.git/elf.h
--- tinycc.git.old/elf.h	2015-01-13 14:46:50.000000000 +0300
+++ tinycc.git/elf.h	2015-01-13 15:19:14.000000000 +0300
@@ -19,6 +19,8 @@
 #ifndef _ELF_H
 #define	_ELF_H 1
 
+#define TARGET_EXE_NAME "elf"
+
 #ifndef _WIN32
 #include <inttypes.h>
 #else
diff -urN tinycc.git.old/i386-gen.c tinycc.git/i386-gen.c
--- tinycc.git.old/i386-gen.c	2015-01-13 14:46:50.000000000 +0300
+++ tinycc.git/i386-gen.c	2015-01-13 14:55:45.000000000 +0300
@@ -20,6 +20,8 @@
 
 #ifdef TARGET_DEFS_ONLY
 
+#define TARGET_CPU_NAME "x86"
+
 /* number of available registers */
 #define NB_REGS         4
 #define NB_ASM_REGS     8
diff -urN tinycc.git.old/il-gen.c tinycc.git/il-gen.c
--- tinycc.git.old/il-gen.c	2015-01-13 14:46:50.000000000 +0300
+++ tinycc.git/il-gen.c	2015-01-13 14:59:25.000000000 +0300
@@ -21,6 +21,8 @@
 /* number of available registers */
 #define NB_REGS             3
 
+#define TARGET_CPU_NAME "CIL"
+
 /* a register can belong to several classes. The classes must be
    sorted from more general to more precise (see gv2() code which does
    assumptions on it). */
diff -urN tinycc.git.old/tcc.c tinycc.git/tcc.c
--- tinycc.git.old/tcc.c	2015-01-13 14:46:50.000000000 +0300
+++ tinycc.git/tcc.c	2015-01-13 15:17:00.000000000 +0300
@@ -27,6 +27,8 @@
 static void help(void)
 {
     printf("tcc version " TCC_VERSION " - Tiny C Compiler - Copyright (C) 2001-2006 Fabrice Bellard\n"
+           "target is " TARGET_CPU_NAME ", " TARGET_EXE_NAME ", " TARGET_OS_NAME "\n"
+           "\n"
            "Usage: tcc [options...] [-o outfile] [-c] infile(s)...\n"
            "       tcc [options...] -run infile [arguments...]\n"
            "General options:\n"
diff -urN tinycc.git.old/tcc.h tinycc.git/tcc.h
--- tinycc.git.old/tcc.h	2015-01-13 14:46:50.000000000 +0300
+++ tinycc.git/tcc.h	2015-01-13 15:19:30.000000000 +0300
@@ -100,13 +100,16 @@
 # define IS_DIRSEP(c) (c == '/' || c == '\\')
 # define IS_ABSPATH(p) (IS_DIRSEP(p[0]) || (p[0] && p[1] == ':' && IS_DIRSEP(p[2])))
 # define PATHCMP stricmp
+# define TARGET_OS_NAME "Windows"
 #else
 # define IS_DIRSEP(c) (c == '/')
 # define IS_ABSPATH(p) IS_DIRSEP(p[0])
 # define PATHCMP strcmp
+# define TARGET_OS_NAME "Linux"
 #endif
 
 #ifdef TCC_TARGET_PE
+#define TARGET_EXE_NAME "pe"
 #define PATHSEP ';'
 #else
 #define PATHSEP ':'
diff -urN tinycc.git.old/x86_64-gen.c tinycc.git/x86_64-gen.c
--- tinycc.git.old/x86_64-gen.c	2015-01-13 14:46:50.000000000 +0300
+++ tinycc.git/x86_64-gen.c	2015-01-13 14:55:54.000000000 +0300
@@ -22,6 +22,8 @@
 
 #ifdef TARGET_DEFS_ONLY
 
+#define TARGET_CPU_NAME "x86_64"
+
 /* number of available registers */
 #define NB_REGS         25
 #define NB_ASM_REGS     8
