tinycc-devel
[Top][All Lists]
Advanced

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

Re: [Tinycc-devel] revert 4b92dbf9237c5712d2ab3a2ce3fab7904c85dad2 pleas


From: Edmund Grimley Evans
Subject: Re: [Tinycc-devel] revert 4b92dbf9237c5712d2ab3a2ce3fab7904c85dad2 please
Date: Fri, 6 Mar 2015 11:54:46 +0000

It fails on arm64 like this:

ar rcs libtcc.a libtcc.o tccpp.o tccgen.o tccelf.o tccasm.o tccrun.o arm64-gen.o
 i386-asm.c i386-gen.c c67-gen.c tccgen.c tcccoff.c tccpp.c tccasm.c arm64-gen.c
 x86_64-gen.c libtcc.c arm-gen.c il-gen.c tccelf.c tcc.c tccpe.c conftest.c tccr
un.c il-opcodes.h x86_64-asm.h elf.h libtcc.h tcctok.h config.h tcclib.h coff.h
tcc.h i386-asm.h stab.h i386-tok.h
gcc -o tcc tcc.o libtcc.a i386-asm.c i386-gen.c c67-gen.c tccgen.c tcccoff.c tcc
pp.c tccasm.c arm64-gen.c x86_64-gen.c libtcc.c arm-gen.c il-gen.c tccelf.c tcc.
c tccpe.c conftest.c tccrun.c il-opcodes.h x86_64-asm.h elf.h libtcc.h tcctok.h
config.h tcclib.h coff.h tcc.h i386-asm.h stab.h i386-tok.h -lm -ldl -I.  -Wall
-g -O2 -Wno-deprecated-declarations -Wno-strict-aliasing -Wno-pointer-sign -Wno-
sign-compare -Wno-unused-result -Wno-uninitialized -fno-strict-aliasing
c67-gen.c:134:24: error: 'RC_INT_BSIDE' undeclared here (not in a function)

I notice in the Makefile that Intel architectures are treated
differently for linking:

ifeq ($(ARCH),i386)
PROGS:=$($(I386_CROSS)_LINK)
$($(I386_CROSS)_LINK)_TCC = yes
endif
ifeq ($(ARCH),x86-64)
PROGS:=$($(X64_CROSS)_LINK)
$($(X64_CROSS)_LINK)_TCC = yes
endif

The problem may have something to do with that.



reply via email to

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