[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: |
grischka |
Subject: |
Re: [Tinycc-devel] can't build mob branch on x86 64 |
Date: |
Fri, 04 Feb 2011 20:23:13 +0100 |
User-agent: |
Thunderbird 2.0.0.23 (Windows/20090812) |
tcctok.h:
> #if defined __i386__ || defined __x86_64__
> DEF(TOK_alloca, "alloca")
> #endif
Not all compilers do define __i386__ or __x86_64__, e.g. MSVC
does not. (It defines _X86_ and _AMD64_).
Also, the host platform doesn't matter anyway, the question
here is whether alloca is defined for the target platform.
In test/tcctest.c:
> void alloca_test()
> {
> #ifdef TOK_alloca
tcctest.c is not part of the tcc source code and hence never
defines "TOK_alloca" (and ahould not).
Anyway, nice work. I guess this could be a good headline for next
release: "tcc 0.9.26 now supports C99 type VLAs." ;)
--- grischka
- [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, 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, 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
- Re: [Tinycc-devel] can't build mob branch on x86 64, grischka, 2011/02/05
- Re: [Tinycc-devel] can't build mob branch on x86 64, Thomas Preud'homme, 2011/02/05
- Re: [Tinycc-devel] can't build mob branch on x86 64, Joe Soroka, 2011/02/06