From 5f33d313c8a2455ff9036cd7f7028339bdbde622 Mon Sep 17 00:00:00 2001 From: grischka Date: Mon, 20 Feb 2017 18:58:08 +0100 Subject: tcc: re-enable correct option -r support Forgot about it. It allows to compile several sources (and other .o's) to one single .o file; tcc -r -o all.o f1.c f2.c f3.S o4.o ... Also: - option -fold-struct-init-code removed, no effect anymore - (tcc_)set_environment() moved to tcc.c - win32/lib/(win)crt1 minor fix & add dependency - debug line output for asm (tcc -c -g xxx.S) enabled - configure/Makefiles: x86-64 -> x86_64 changes - README: cleanup --- configure | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'configure') diff --git a/configure b/configure index 3799805..d1cb838 100755 --- a/configure +++ b/configure @@ -163,8 +163,8 @@ case "$cpu" in x86|i386|i486|i586|i686|i86pc|BePC|i686-AT386) cpu="x86" ;; - x86_64|amd64) - cpu="x86-64" + x86_64|amd64|x86-64) + cpu="x86_64" ;; arm*) case "$cpu" in @@ -332,7 +332,7 @@ if test -z "$cross_prefix" ; then fi if test -z "$triplet"; then - if test $cpu = "x86-64" -o $cpu = "aarch64" ; then + if test $cpu = "x86_64" -o $cpu = "aarch64" ; then if test -f "/usr/lib64/crti.o" ; then tcc_lddir="lib64" fi @@ -453,8 +453,8 @@ echo "#define GCC_MINOR $gcc_minor" >> $TMPH if test "$cpu" = "x86" ; then echo "ARCH=i386" >> config.mak -elif test "$cpu" = "x86-64" ; then - echo "ARCH=x86-64" >> config.mak +elif test "$cpu" = "x86_64" ; then + echo "ARCH=x86_64" >> config.mak elif test "$cpu" = "armv4l" ; then echo "ARCH=arm" >> config.mak echo "#define TCC_ARM_VERSION $cpuver" >> $TMPH -- cgit v1.3.1