I am trying to compile TCC on Snow Leopard and this is what I am getting: robert -> ./configure Binary directory /usr/local/bin TinyCC directory /usr/local/lib/tcc Library directory /usr/local/lib Include directory /usr/local/include Manual directory /usr/local/man Doc directory /usr/local/share/doc/tcc Target root prefix Source path /Users/robert/src/tcc-0.9.25 C compiler gcc CPU x86 Big Endian no gprof enabled no cross compilers no use libgcc no Creating config.mak and config.h
robert -> cat config.h /* Automatically generated by configure - do not modify */ #define CONFIG_SYSROOT "" #define CONFIG_TCCDIR "/usr/local/lib/tcc" #define GCC_MAJOR 4 #define HOST_I386 1 #define TCC_VERSION "0.9.25" robert -> cat config.mak # Automatically generated by configure - do not modify prefix=/usr/local bindir=/usr/local/bin tccdir=/usr/local/lib/tcc libdir=/usr/local/lib includedir=/usr/local/include mandir=/usr/local/man docdir=/usr/local/share/doc/tcc CC=gcc GCC_MAJOR=4 HOST_CC=gcc AR=ar STRIP=strip -s -R .comment -R .note CFLAGS=-arch x86_64 LDFLAGS= LIBSUF=.a EXESUF= ARCH=i386 VERSION=0.9.25 SRC_PATH=/Users/robert/src/tcc-0.9.25 robert -> make gcc -o tcc tcc.c -DTCC_TARGET_I386 -arch x86_64 -g -Wall -fno-strict-aliasing -mpreferred-stack-boundary=2 -march=i386 -falign-functions=0 -Wno-pointer-sign -Wno-sign-compare -D_FORTIFY_SOURCE=0 -lm -ldl tcc.c:1: error: CPU you selected does not support x86-64 instruction set tcc.c:1: error: CPU you selected does not support x86-64 instruction set tcc.c:1: error: -mpreferred-stack-boundary=2 is not between 4 and 12
_______________________________________________ Tinycc-devel mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/tinycc-devel
