tinycc-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Tinycc-devel] RE :Re: 1cbb4d322bc3c89a3b56d35c803a19f99f33ab65 broke tc


From: Christian JULLIEN
Subject: [Tinycc-devel] RE :Re: 1cbb4d322bc3c89a3b56d35c803a19f99f33ab65 broke tcc on arm (RPi) 6 days ago
Date: Tue, 10 Mar 2015 11:23:50 +0100 (CET)

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" <address@hidden>
date mar. 10/03/2015 11:07 (GMT +01:00)
À : "Christian JULLIEN" <address@hidden>, "address@hidden" <address@hidden>
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"

reply via email to

[Prev in Thread] Current Thread [Next in Thread]