[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Tinycc-devel] test failure on Linux
From: |
grischka |
Subject: |
Re: [Tinycc-devel] test failure on Linux |
Date: |
Wed, 13 Feb 2013 14:33:46 +0100 |
User-agent: |
Thunderbird 2.0.0.23 (Windows/20090812) |
Thomas Preud'homme wrote:
Here is a first version of the patch. Granted, detecting multiarch at configure
time and specifying the triplet in tcc.h is better but the result is quite
ugly for now.
What about adding a small C file that we compile at configure
time and can run with various arguments. Such as:
int main(int argc, char **argv)
{
switch(argc == 1 ? argv[1][0] : 0) {
case 'v': <print __GNUC__>
case 'm': <print __GNUC_MINOR__>
case 'a': <print [MULTI_]ARCH_TRIPLE>
case 'e': <print endian-ness>
...
and use as:
gcc_major=`our-config-tool v`
etc...
That way configure would look better without that inline C code.
--- grischka
- [Tinycc-devel] test failure on Linux, Ramsay Jones, 2013/02/09
- Re: [Tinycc-devel] test failure on Linux, Thomas Preud'homme, 2013/02/09
- Re: [Tinycc-devel] test failure on Linux, Ramsay Jones, 2013/02/12
- Re: [Tinycc-devel] test failure on Linux, Thomas Preud'homme, 2013/02/13
- Re: [Tinycc-devel] test failure on Linux, Thomas Preud'homme, 2013/02/13
- Re: [Tinycc-devel] test failure on Linux,
grischka <=
- Re: [Tinycc-devel] test failure on Linux, Thomas Preud'homme, 2013/02/13
- Re: [Tinycc-devel] test failure on Linux, arnold, 2013/02/13
- Re: [Tinycc-devel] test failure on Linux, Domingo Alvarez Duarte, 2013/02/13
- Re: [Tinycc-devel] test failure on Linux, Thomas Preud'homme, 2013/02/13
- Re: [Tinycc-devel] test failure on Linux, Thomas Preud'homme, 2013/02/13
- Re: [Tinycc-devel] test failure on Linux, Thomas Preud'homme, 2013/02/13
- Re: [Tinycc-devel] test failure on Linux, Ramsay Jones, 2013/02/14
- Re: [Tinycc-devel] test failure on Linux, Thomas Preud'homme, 2013/02/14
- Re: [Tinycc-devel] test failure on Linux, Ramsay Jones, 2013/02/14
- Re: [Tinycc-devel] test failure on Linux, Ramsay Jones, 2013/02/13