diff options
| author | grischka <grischka> | 2017-02-20 18:58:08 +0100 |
|---|---|---|
| committer | grischka <grischka> | 2017-02-20 18:58:08 +0100 |
| commit | 5f33d313c8a2455ff9036cd7f7028339bdbde622 (patch) | |
| tree | e620f3c5a67e0f785046ee188ffbd00e593c2212 /configure | |
| parent | 399237850d87be8ef1179d2592ade660152aaabc (diff) | |
| download | tinycc-5f33d313c8a2455ff9036cd7f7028339bdbde622.tar.gz tinycc-5f33d313c8a2455ff9036cd7f7028339bdbde622.tar.bz2 | |
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
Diffstat (limited to 'configure')
| -rwxr-xr-x | configure | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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 |
