1 |
Friday 29 November 2002 20:43 skrev George Shapovalov: |
2 |
> Hi guys. |
3 |
> |
4 |
> Yes this would make for a very interesting investigation ;). |
5 |
|
6 |
After investigating a little I found that it fails compiling something like |
7 |
95% or more of all packages without modification because it's so strictly |
8 |
ANSI-C, so tcc is not yet an option for most C-programs.. (If it compiles |
9 |
with "gcc -strict" it should compile with tcc) But for Eiffel (and other |
10 |
compile-to-c languages) I think it's really great because the c-code it |
11 |
generates is extremly fast ("unreadable optimized c-pseudo-assembler"), but |
12 |
takes a LONG LONG time to compile with gcc.. |
13 |
|
14 |
> Just a small opinion here: |
15 |
> |
16 |
> On Friday 29 November 2002 11:22, Per Wigren wrote: |
17 |
> > Friday 29 November 2002 19:43 skrev Karl Trygve Kalleberg: |
18 |
> > > On Fri, 29 Nov 2002 18:41:12 +0100 |
19 |
> |
20 |
> [skipped] |
21 |
> |
22 |
> > I don't know about XFree, but I don't think there should be a problem.. |
23 |
> > TCC supports 100% of ANSI-C, 90% of C99-specific things and the most |
24 |
> > common GCC-extensions.. I read somewhere that they pass all test but 10 |
25 |
> > or so in GCC's testsuite (which has THOUSANDS of tests!).. |
26 |
> |
27 |
> So this does have a potential for breakage in various packages. Even if it |
28 |
> were 100% gcc compatible we shouldn't trust it without doing a really |
29 |
> extensive testing. Besides many people will choose to have a "more |
30 |
> coherent" system based solely on gcc and will be glad to pay the price in |
31 |
> compile time. Therefore I think use of tcc should be made optional (even |
32 |
> opt-in in the beginning if you ask me). New use flag suits this very well |
33 |
> and I think is completely warranted (and for the same reason I do not like |
34 |
> putting this into DEPEND). |
35 |
> |
36 |
> George |
37 |
|
38 |
Agreed. But I still think gobo should be an exception.. 3 hours on my pretty |
39 |
fast machine vs a minute using tcc is a HUGE win! The Gobo tools are only |
40 |
used when compiling other Eiffel-packages anyway.. It contains |
41 |
Eiffel-replacements for C-stuff like flex, bison/yacc, cpp (preprocessor) and |
42 |
more.. It's not used at runtime.. |
43 |
|
44 |
// Wigren |
45 |
|
46 |
|
47 |
-- |
48 |
gentoo-dev@g.o mailing list |