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" <[email protected]>
date mar. 10/03/2015 11:24 (GMT +01:00)
À : "Christian JULLIEN" <[email protected]>, "[email protected]" 
<[email protected]>
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?
_______________________________________________
Tinycc-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to