Re: question about linker

Liste des GroupesRevenir à cl c 
Sujet : Re: question about linker
De : bc (at) *nospam* freeuk.com (bart)
Groupes : comp.lang.c
Date : 14. Dec 2024, 13:24:20
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vjjtdj$6vf$1@dont-email.me>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
User-Agent : Mozilla Thunderbird
On 14/12/2024 04:36, Waldek Hebisch wrote:
David Brown <david.brown@hesbynett.no> wrote:
On 13/12/2024 15:20, Waldek Hebisch wrote:
Janis Papanagnou <janis_papanagnou+ng@hotmail.com> wrote:
>
What I did care about was; about whom Waldek spoke when formulating
"explicit endorsement from gawk developer" - I asked "Who was that?"
>
Because I was surprised by his statement and curious where he got
that idea from. Since the statement I found gave a fairly different
picture. YMMV. - And since I know Arnold - the head of the GNU Awk
maintainers - from various public and private conversations, Waldek's
interpretation (and yours, of course) irritated me, to say the least.
>
You can ask Arnold what he meant.  I saw reasonably recent post
by him implying the he is still using tcc.  And a seqence of
posts from 2013, where he reported problem with tcc and later
wrote that new version (containing fixes) works to compile
gawk.  His messages indicated that he cared about compile
speed and considerd tcc to be fast.
>
  From message about to tinycc-devel dated 'Sun, 06 Jan 2013':
>
: It is quite fast, which is a significant pleasure compared to
: gcc or clang.
>
There he reports problems, later message confirms that changes
to tcc fixed the them.
>
Let me summarize facts as I see them:
- he used tcc to develop gawk
>
I don't see that from what you have written here.  Perhaps it is true,
but unless I have missed something, you haven't given evidence of that.
Note that "used tcc /while/ developing gawk" is not at all the same
thing as "used tcc /to/ develop gawk".  The tools you use to develop
something are your main tools that help you produce good, working code.
gcc is the tool he uses for get correct code - tcc is merely for quick
turnaround testing.
 I do not get what distinction you want to make.  If somebody listens
to music while coding, then "while" looks appropriate.  I develop
a project intending to support compilation by compiler A, B, C, D, E
(that is 5 different compilers), most developement happens using
compiler A, but there are pieces of code specific to other compilers,
which where developed using appropriate compiler.  From time to time
I run test to verify that using each compiler produces expected
results.  It is fair to say that I do small part of developement
using other compilers, but I would say that I use them _to_ develop
the project.  It does not matter that they are not my main compiler.
 Concerning statements about tcc, blurb that Janis quoted literally
says 'using tcc for developement'.  And my reading of the whole
blurb is that he was 'using tcc for developement' (there is more
statements on the net, but I do not think it makes sense for me
to dig them, this should be enough).  I am not a native English
speaker, but for me 'using X for developement of Y' and 'using X
to develop Y' are synonyms, with second being shorter than the
first, while in first skipping Y is more natural.
 
(Again, let me stress that it is possible that he
did use tcc as a main compiler during development, but I don't think you
have shown that.)
>
- he said that tcc can be used to compile gawk
>
Yes.
>
- he complained about speed of gcc/clang and noted that tcc is fast.
>
He said that tcc is "quite fast", faster than gcc or clang, and that he
liked that it was fast.  That is not the same thing as a direct
complaint about the speed of gcc or clang
 Janis snipped that part containing the complaint.  Janis claimed that
complaint does not mean that he liked speed of 'tcc', that is why
I specifically quoted part where he said the he liked the speed.
 
- though clearly he would have
been happier if those compilers had been faster.  (And we all would be
happier if they were faster - even those of us who find gcc fast enough
for our needs.)
>
If that is not an endorsement, than what is?
>
>
It is saying that tcc is a tool you can use to compile gawk, and praise
of its speed relative to gcc and clang.  An endorsement would be saying
that it is the compiler he likes to use or recommends using.
>
If I write a program and say it can run on Linux or Windows, that is not
an endorsement for Windows.
 I would take is as an endorsement for "running the program on Windows".
 Anyway, you wrote:
: No actual developer would care if their code can be compiled by your
: little toy compiler, or even more complete little tools like tcc.
 Gawk developers disprove "no actual developer would care if their
code can be compiled by tcc".  A little grep search discoverd few
tcc-specific lines added to configure machinery.  Google search
discoverd more projects, I did not try to find how many other
project cared and how much, but clearly taken literally
'no actual developer' is false (which you admited in another
message).  It is possible that 'majority of actual developers'
do not care about tcc, I have no hard data, but my feeling is that
developers caring abut tcc are not so small minority.
For me this is quite different from "no actual developer".
Even in non-literal reading IMO "no actual developer"
exagerates smallness of this group.
 
Both JP and DB are clutching at straws.
I really don't know why they so against the concept of a fast, streamlined compiler that cuts some corners. It's not as though there were some decree where you must choose either compiler A or B; you can use both!
Clearly some people (obviously not those two) think the trade-offs are worthwhile. And they know how to mix-and-match A and B to be most productive.
Personally I've also found some problems with TCC in building some programs, eg. missing bits in headers, or sometimes some mysterious error.
I run TCC in order to compare compilation speed, and to that end I will sometimes tweak things (eg. I used my version of windows.h, or compiled preprocessed C in order to avoid a mire of conditional blocks which try and which determine which compile is running, and get it wrong).
Once a program has compiled, I don't remember bugs in TCC's code; it's just a bit slower.
(BTW when I tried to build TCC from source using gcc-O3, I found the resulting compiler even faster than the pre-build binaries! I found that a bit scary so I test only with binaries as supplied.)

Date Sujet#  Auteur
26 Nov 24 * question about linker383Thiago Adams
26 Nov 24 +* Re: question about linker16Thiago Adams
26 Nov 24 i`* Re: question about linker15Bart
26 Nov 24 i `* Re: question about linker14Thiago Adams
27 Nov 24 i  +* Re: question about linker2BGB
27 Nov 24 i  i`- Re: question about linker1Bart
27 Nov 24 i  +* Re: question about linker5David Brown
27 Nov 24 i  i`* Re: question about linker4Thiago Adams
27 Nov 24 i  i +* Re: question about linker2David Brown
27 Nov 24 i  i i`- Re: question about linker1Thiago Adams
2 Dec 24 i  i `- Re: question about linker1BGB
27 Nov 24 i  `* Re: question about linker6Michael S
27 Nov 24 i   `* Re: question about linker5Thiago Adams
27 Nov 24 i    `* Re: question about linker4Michael S
27 Nov 24 i     +- Re: question about linker1David Brown
28 Nov 24 i     +- Re: question about linker1Tim Rentsch
2 Dec 24 i     `- Re: question about linker1BGB
26 Nov 24 +* Re: question about linker20Bart
26 Nov 24 i`* Re: question about linker19Thiago Adams
26 Nov 24 i `* Re: question about linker18Bart
27 Nov 24 i  +* Re: question about linker3BGB
27 Nov 24 i  i`* Re: question about linker2fir
27 Nov 24 i  i `- Re: question about linker1BGB
27 Nov 24 i  `* Re: question about linker14Bart
27 Nov 24 i   +* Re: question about linker12Thiago Adams
27 Nov 24 i   i+- Re: question about linker1Thiago Adams
27 Nov 24 i   i`* Re: question about linker10Bart
27 Nov 24 i   i +* Re: question about linker6Bart
27 Nov 24 i   i i`* Re: question about linker5Thiago Adams
27 Nov 24 i   i i +* Re: question about linker3Thiago Adams
27 Nov 24 i   i i i`* Re: question about linker2Thiago Adams
27 Nov 24 i   i i i `- Re: question about linker1Bart
27 Nov 24 i   i i `- Re: question about linker1Bart
27 Nov 24 i   i `* Re: question about linker3Thiago Adams
27 Nov 24 i   i  `* Re: question about linker2Bart
27 Nov 24 i   i   `- Re: question about linker1Thiago Adams
28 Nov 24 i   `- Re: question about linker1Tim Rentsch
27 Nov 24 `* Re: question about linker346Waldek Hebisch
27 Nov 24  `* Re: question about linker345Thiago Adams
28 Nov 24   `* Re: question about linker344Keith Thompson
28 Nov 24    `* Re: question about linker343Thiago Adams
28 Nov 24     +* Re: question about linker338Bart
28 Nov 24     i`* Re: question about linker337Keith Thompson
28 Nov 24     i `* Re: question about linker336Bart
28 Nov 24     i  `* Re: question about linker335Keith Thompson
29 Nov 24     i   `* Re: question about linker334Bart
29 Nov 24     i    +* Re: question about linker3Keith Thompson
29 Nov 24     i    i`* Re: question about linker2Bart
29 Nov 24     i    i `- Re: question about linker1Keith Thompson
29 Nov 24     i    `* Re: question about linker330David Brown
29 Nov 24     i     `* Re: question about linker329Bart
29 Nov 24     i      +- Re: question about linker1Ike Naar
29 Nov 24     i      +* Re: question about linker326Michael S
29 Nov 24     i      i+* Re: question about linker323Bart
29 Nov 24     i      ii`* Re: question about linker322Michael S
29 Nov 24     i      ii +* Re: question about linker320David Brown
29 Nov 24     i      ii i`* Re: question about linker319Bart
29 Nov 24     i      ii i +* Re: question about linker165Keith Thompson
29 Nov 24     i      ii i i`* Re: question about linker164Bart
30 Nov 24     i      ii i i `* Re: question about linker163Keith Thompson
30 Nov 24     i      ii i i  +* Re: question about linker95Waldek Hebisch
30 Nov 24     i      ii i i  i+- Re: question about linker1Keith Thompson
30 Nov 24     i      ii i i  i+* Re: question about linker3James Kuyper
30 Nov 24     i      ii i i  ii`* Re: question about linker2Michael S
3 Dec 24     i      ii i i  ii `- Re: question about linker1Tim Rentsch
1 Dec 24     i      ii i i  i`* Re: question about linker90David Brown
1 Dec 24     i      ii i i  i +* Re: question about linker88Bart
1 Dec 24     i      ii i i  i i`* Re: question about linker87David Brown
1 Dec 24     i      ii i i  i i `* Re: question about linker86Bart
2 Dec 24     i      ii i i  i i  `* Re: question about linker85David Brown
2 Dec 24     i      ii i i  i i   `* Re: question about linker84Bart
2 Dec 24     i      ii i i  i i    +* Re: question about linker78David Brown
2 Dec 24     i      ii i i  i i    i+* Re: question about linker72Janis Papanagnou
2 Dec 24     i      ii i i  i i    ii+* Re: question about linker70Bart
2 Dec 24     i      ii i i  i i    iii+* Re: question about linker68David Brown
2 Dec 24     i      ii i i  i i    iiii`* Re: question about linker67Bart
3 Dec 24     i      ii i i  i i    iiii `* Re: question about linker66David Brown
3 Dec 24     i      ii i i  i i    iiii  +* Re: question about linker53Bart
3 Dec 24     i      ii i i  i i    iiii  i`* Re: question about linker52David Brown
3 Dec 24     i      ii i i  i i    iiii  i `* Re: question about linker51Bart
4 Dec 24     i      ii i i  i i    iiii  i  `* Re: question about linker50David Brown
4 Dec 24     i      ii i i  i i    iiii  i   `* Re: question about linker49Bart
4 Dec 24     i      ii i i  i i    iiii  i    `* Re: question about linker48David Brown
4 Dec 24     i      ii i i  i i    iiii  i     +* Re: question about linker24Bart
5 Dec 24     i      ii i i  i i    iiii  i     i`* Re: question about linker23David Brown
5 Dec 24     i      ii i i  i i    iiii  i     i +- Re: question about linker1Janis Papanagnou
5 Dec 24     i      ii i i  i i    iiii  i     i `* Re: question about linker21Bart
6 Dec 24     i      ii i i  i i    iiii  i     i  `* Re: question about linker20David Brown
6 Dec 24     i      ii i i  i i    iiii  i     i   `* Re: question about linker19Bart
6 Dec 24     i      ii i i  i i    iiii  i     i    +* Re: question about linker5Ike Naar
6 Dec 24     i      ii i i  i i    iiii  i     i    i+- Re: question about linker1Bart
7 Dec 24     i      ii i i  i i    iiii  i     i    i+- Re: question about linker1Keith Thompson
7 Dec 24     i      ii i i  i i    iiii  i     i    i`* Re: question about linker2Bart
7 Dec 24     i      ii i i  i i    iiii  i     i    i `- Re: question about linker1Keith Thompson
7 Dec 24     i      ii i i  i i    iiii  i     i    +* Re: question about linker10David Brown
7 Dec 24     i      ii i i  i i    iiii  i     i    i`* Re: question about linker9Bart
7 Dec 24     i      ii i i  i i    iiii  i     i    i `* Re: question about linker8David Brown
7 Dec 24     i      ii i i  i i    iiii  i     i    i  `* Re: question about linker7Bart
7 Dec 24     i      ii i i  i i    iiii  i     i    i   `* Re: question about linker6David Brown
7 Dec 24     i      ii i i  i i    iiii  i     i    i    `* Re: question about linker5Bart
8 Dec 24     i      ii i i  i i    iiii  i     i    i     +* Re: question about linker3Ben Bacarisse
8 Dec 24     i      ii i i  i i    iiii  i     i    i     `- Re: question about linker1David Brown
8 Dec 24     i      ii i i  i i    iiii  i     i    `* Re: question about linker3Waldek Hebisch
5 Dec 24     i      ii i i  i i    iiii  i     +* Re: question about linker15Waldek Hebisch
11 Dec 24     i      ii i i  i i    iiii  i     `* Re: question about linker8James Kuyper
3 Dec 24     i      ii i i  i i    iiii  `* Re: question about linker12Bart
3 Dec 24     i      ii i i  i i    iii`- Re: question about linker1Janis Papanagnou
2 Dec 24     i      ii i i  i i    ii`- Re: question about linker1Bart
2 Dec 24     i      ii i i  i i    i`* Re: question about linker5Bart
4 Dec 24     i      ii i i  i i    `* Re: question about linker5Waldek Hebisch
1 Dec 24     i      ii i i  i `- Re: question about linker1Janis Papanagnou
30 Nov 24     i      ii i i  +* Re: question about linker44Bart
30 Nov 24     i      ii i i  +- Re: question about linker1Janis Papanagnou
1 Dec 24     i      ii i i  `* Re: question about linker22David Brown
30 Nov 24     i      ii i `* Re: question about linker153David Brown
5 Dec 24     i      ii `- Re: question about linker1Tim Rentsch
30 Nov 24     i      i`* Re: question about linker2Tim Rentsch
29 Nov 24     i      `- Re: question about linker1David Brown
28 Nov 24     `* Re: question about linker4Keith Thompson

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal