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:37:30 +0100 (CET)

This diff works too:
 
diff --git a/lib/Makefile b/lib/Makefile
index 2288600..4293e69 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 ?= $(CC)
 else
 ifeq "$(TARGET)" "arm64"
  OBJ = $(addprefix $(DIR)/,$(ARM64_O))

> PS: arm-tcc can be a cross-compiler on x86. Can it compile arm *.S
files in such case?
 
no idea


----- message d'origine -----
De : "Sergey Korshunoff" <address@hidden>
date mar. 10/03/2015 11:24 (GMT +01:00)
À : "Christian JULLIEN" <address@hidden>, "address@hidden" <address@hidden>
Objet : Re: [Tinycc-devel] 1cbb4d322bc3c89a3b56d35c803a19f99f33ab65 broke tcc on arm (RPi) 6 days ago

Try to revert

ifeq ($(ARCH),arm)
TARGET = arm
- XCC = $(CC)
else

and test

PS: arm-tcc can be a cross-compiler on x86. Can it compile arm *.S
files in such case?

reply via email to

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