aboutsummaryrefslogtreecommitdiff
path: root/tcc.c
diff options
context:
space:
mode:
authorgrischka <grischka>2013-02-14 17:43:24 +0100
committergrischka <grischka>2013-02-14 17:43:24 +0100
commit762a43877b6edc4a586b2b41f7474eee0adcdcec (patch)
treea2c139bc1a70b2e8f2505b6c945dfbe89c21c9ef /tcc.c
parent99b801dafc664f80910f1c4d5f492170b01c2c3c (diff)
downloadtinycc-762a43877b6edc4a586b2b41f7474eee0adcdcec.tar.gz
tinycc-762a43877b6edc4a586b2b41f7474eee0adcdcec.tar.bz2
configure: pass CONFIG_xxxDIR/PATH options via commandline
- except for CONFIG_SYSROOT and CONFIG_TCCDIR Strictly neccessary it is only for CONFIG_MULTIARCHDIR because otherwise if it's in config.h it is impossible to leave it undefined. But it is also nicer not to use these definitions for cross-compilers. - Also: lib/Makefile : include ../Makefile for CFLAGS lib/libtcc1.c : fix an issue compiling tcc with tcc on x64
Diffstat (limited to 'tcc.c')
-rw-r--r--tcc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tcc.c b/tcc.c
index 7c1b133..cd306b0 100644
--- a/tcc.c
+++ b/tcc.c
@@ -223,6 +223,7 @@ static void display_info(TCCState *s, int what)
print_paths("crt", s->crt_paths, s->nb_crt_paths);
print_paths("libraries", s->library_paths, s->nb_library_paths);
print_paths("include", s->sysinclude_paths, s->nb_sysinclude_paths);
+ printf("elfinterp:\n %s\n", CONFIG_TCC_ELFINTERP);
break;
}
}