[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Tinycc-devel] can't build mob branch on x86 64
From: |
Thomas Preud'homme |
Subject: |
Re: [Tinycc-devel] can't build mob branch on x86 64 |
Date: |
Fri, 4 Feb 2011 13:30:26 +0100 |
User-agent: |
KMail/1.13.5 (Linux/2.6.32-5-amd64; KDE/4.4.5; x86_64; ; ) |
Le vendredi 04 février 2011 10:04:21, Aharon Robbins a écrit :
> I'm getting
>
> $ make
> gcc -o libtcc.o -c libtcc.c -DTCC_TARGET_X86_64 -DTCC_TARGET_X86_64_CENTOS
> -O2 -g -Wall -fno-strict-aliasing -Wno-pointer-sign -Wno-sign-compare
> -D_FORTIFY_SOURCE=0 In file included from libtcc.c:45:
> tccgen.c: In function 'decl_initializer':
> tccgen.c:4867: error: 'TOK_alloca' undeclared (first use in this function)
> tccgen.c:4867: error: (Each undeclared identifier is reported only once
> tccgen.c:4867: error: for each function it appears in.)
> make: *** [libtcc.o] Error 1
>
> Please fix?
My mistake, I forgot that TOK_alloca was not defined on x86-64. As alloca *is*
available on this arch, I just moved the definition outside the #ifdef
CONFIG_TCC_BCHECK stanza but added a test that arch is either i386 or x86-64.
>
> Thanks,
>
> Arnold
Best regards,
Thomas Preud'homme
>
> _______________________________________________
> Tinycc-devel mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/tinycc-devel
signature.asc
Description: This is a digitally signed message part.
- [Tinycc-devel] can't build mob branch on x86 64, Aharon Robbins, 2011/02/04
- Re: [Tinycc-devel] can't build mob branch on x86 64,
Thomas Preud'homme <=
- Re: [Tinycc-devel] can't build mob branch on x86 64, Joe Soroka, 2011/02/04
- Re: [Tinycc-devel] can't build mob branch on x86 64, Thomas Preud'homme, 2011/02/04
- Re: [Tinycc-devel] can't build mob branch on x86 64, Joe Soroka, 2011/02/04
- Re: [Tinycc-devel] can't build mob branch on x86 64, Thomas Preud'homme, 2011/02/04
- Re: [Tinycc-devel] can't build mob branch on x86 64, Thomas Preud'homme, 2011/02/04