Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c > #389542

Re: question about linker

From Michael S <already5chosen@yahoo.com>
Newsgroups comp.lang.c
Subject Re: question about linker
Date 2024-12-11 11:18 +0200
Organization A noiseless patient Spider
Message-ID <20241211111856.00005d14@yahoo.com> (permalink)
References (11 earlier) <vid110$16hte$1@dont-email.me> <vifcll$1q9rj$1@dont-email.me> <vifiib$1s07p$1@dont-email.me> <viht27$2hgg1$3@dont-email.me> <vjb8e9$1973q$1@paganini.bofh.team>

Show all headers | View raw


On Wed, 11 Dec 2024 05:37:15 -0000 (UTC)
antispam@fricas.org (Waldek Hebisch) wrote:

> David Brown <david.brown@hesbynett.no> wrote:
> > On 30/11/2024 18:38, Bart wrote:  
> >> It will at least work with more compiles.
> >>   
> > 
> > And why would that matter?  No actual developer would care if their
> > code can be compiled by your little toy compiler, or even more
> > complete little tools like tcc.  Code needs to work on the
> > compilers that are suitable for the job - compatibility with
> > anything else would just be a waste of effort and missing out on
> > useful features that makes the code better.  
> 
> You are exagerating and that does not help communication.  In this
> group there were at least one serious poster claiming to write code
> depending only on features from older C standard.  

For some definition of "serious".

> People like this
> presumably would care if some "toy" compiler discoverd non-compliance.
> Concerning tcc, they have explicit endorsment from gawk developer:
> he likes compile speed and says that gawk compiles fine using tcc.
> 
> In may coding I use gcc extentions when I feel that there is
> substantial gain.  But for significant part of my code I prefer
> to portablility, and that may include avoiding features not
> supported by lesser compilers.  I the past tcc was not able
> to compile code which I consider rather ordinary C, and due
> to this and lack of support for my main target I did not use
> tcc.  But tcc improved, ATM I do not know if it is good enough
> for me, but it passed initial tests, so I have no reason to
> disregard it.
> 
> BTW: IME "exotic" tools and targets help with finding bugs.
> So even if you do not normally need to compile with some
> compiler it makes sense to check if it works.
> 

I would think that the main reason for David Brown's absence of
interest in tcc is simply because tcc do not have back ends for
targets that he cares about.
In particular, Arm port appears to be abandoned in 2003, so quite
likely tcc can't generate code that runs on MCUs with ARMv7-M
architecture that happens to be released first in the same year and
officially named in the 2004.

Back to comp.lang.c | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Re: question about linker antispam@fricas.org (Waldek Hebisch) - 2024-12-11 05:37 +0000
  Re: question about linker Michael S <already5chosen@yahoo.com> - 2024-12-11 11:18 +0200
    Re: question about linker bart <bc@freeuk.com> - 2024-12-11 11:57 +0000
      Re: question about linker Michael S <already5chosen@yahoo.com> - 2024-12-11 16:26 +0200
      Re: question about linker David Brown <david.brown@hesbynett.no> - 2024-12-11 16:15 +0100
        Re: question about linker Michael S <already5chosen@yahoo.com> - 2024-12-11 19:22 +0200
          Re: question about linker David Brown <david.brown@hesbynett.no> - 2024-12-11 21:35 +0100
            Re: question about linker Michael S <already5chosen@yahoo.com> - 2024-12-12 00:26 +0200
              Re: question about linker David Brown <david.brown@hesbynett.no> - 2024-12-12 09:27 +0100
                Re: question about linker Michael S <already5chosen@yahoo.com> - 2024-12-12 14:13 +0200
                Re: question about linker antispam@fricas.org (Waldek Hebisch) - 2024-12-12 19:30 +0000
      Re: question about linker antispam@fricas.org (Waldek Hebisch) - 2024-12-11 23:33 +0000
      Re: question about linker Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2024-12-11 16:04 -0800
    Re: question about linker David Brown <david.brown@hesbynett.no> - 2024-12-11 16:10 +0100
  Re: question about linker David Brown <david.brown@hesbynett.no> - 2024-12-11 16:03 +0100
    Re: question about linker Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2024-12-12 15:03 +0100
      Re: question about linker bart <bc@freeuk.com> - 2024-12-12 14:37 +0000
        Re: question about linker Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2024-12-12 16:20 +0100
          Re: question about linker bart <bc@freeuk.com> - 2024-12-12 18:17 +0000
            Re: question about linker Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2024-12-12 22:18 +0100
              Re: question about linker bart <bc@freeuk.com> - 2024-12-12 22:12 +0000
              Re: question about linker antispam@fricas.org (Waldek Hebisch) - 2024-12-13 14:20 +0000
                Re: question about linker David Brown <david.brown@hesbynett.no> - 2024-12-13 17:29 +0100
                Re: question about linker Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2024-12-13 18:26 +0100
                Re: question about linker David Brown <david.brown@hesbynett.no> - 2024-12-13 18:42 +0100
                Re: question about linker Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2024-12-13 19:16 +0100
                Re: question about linker bart <bc@freeuk.com> - 2024-12-13 17:41 +0000
                Re: question about linker antispam@fricas.org (Waldek Hebisch) - 2024-12-14 04:36 +0000
                Re: question about linker bart <bc@freeuk.com> - 2024-12-14 12:24 +0000
                Re: question about linker antispam@fricas.org (Waldek Hebisch) - 2024-12-14 13:47 +0000

csiph-web