Thx Sergey, Ok for wrong interpretation of --with-libgcc I already fixed arm issue with: diff --git a/lib/Makefile b/lib/Makefile index 2288600..e83d66f 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -84,7 +84,7 @@ else ifeq "$(TARGET)" "arm" OBJ = $(addprefix $(DIR)/,$(ARM_O)) TGT = -DTCC_TARGET_ARM - XCC ?= $(TCC) -B$(TOP) + XCC = gcc -B$(TOP) else ifeq "$(TARGET)" "arm64" OBJ = $(addprefix $(DIR)/,$(ARM64_O))
I wonder if there is a better way to handle this? C. ----- message d'origine ----- De : "Sergey Korshunoff" <[email protected]> date mar. 10/03/2015 11:07 (GMT +01:00) À : "Christian JULLIEN" <[email protected]>, "[email protected]" <[email protected]> Objet : Re: [Tinycc-devel] 1cbb4d322bc3c89a3b56d35c803a19f99f33ab65 broke tcc on arm (RPi) 6 days ago --with-libgcc means (tcc.h): library to use with CONFIG_USE_LIBGCC instead of libtcc1.a and not "to select gcc to compile libtcc1.a". A solution for this problem: use gcc to compile asm files if target is arm-* PS: there is no such option as "--with-libgc"
_______________________________________________ Tinycc-devel mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/tinycc-devel
