Re: C23 thoughts and opinions

Liste des GroupesRevenir à l c 
Sujet : Re: C23 thoughts and opinions
De : bc (at) *nospam* freeuk.com (bart)
Groupes : comp.lang.c
Date : 09. Jun 2024, 22:49:39
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <v4581i$3qmf9$1@dont-email.me>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
User-Agent : Mozilla Thunderbird
On 09/06/2024 21:40, Michael S wrote:
I can only tell you what works well for me. I can't force you to use it.
Also, I can't prevent you from trying to use something that no longer
works well due to absence of support, i.e. old msys/mingw.
 
I was trying to install the LATEST version of gcc on Windows! That would 13.x, which I've done before, perhaps hitting on the right link by chance.
'gcc' /can/ be run from a pure Windows command line, as I've been using versions of it for years.
But they don't make it easy, as gcc is perceived to be tied to WSL MSYS2 MINGW CYGWIN.
I've had another go at this elusive compiler, this time apparently successful. Here are the steps I used:
* Start from mingw-w64.com. Ignore where it says it's a 'complete
   runtime environment for gcc'. There is also an actual compiler at the
   end of the process!
* Click on Downloads on the left
* There is a list of prebuilt toolchains. The promising ones are
   w64devkit, MingW-W64-builds, and possibly WinLibs.com?
   I clicked on MinGW-W64-builds.
* That takes you down the page to MingW-Builds, but this is where I had
   a bit of luck: as this is a one-line entry, I missed it and starting
   reading about WinLibs.com instead. But where are the downloads? The
   link is in the small print on the last line of that section.
* It you to winlibs.com. This is looks disconcertingly like a 1990s
   website. It surely can't be the right place? Just don't click on
   MinGW-w64 as that just takes you back to square one.
* Scroll down to Downloads. There are 16 to choose from for each
   version. I clicked (by mistake - I think) on the version /with/ LLVM
   etc, but I  don't know what the difference is. I chose the MSVCRT
   version.
The end result was a 1.4GB installation of gcc 14.1.0. Using 'gcc hello.c -Os -s' gives of 48KB (with 10.3 it was 88KB). It still imports msvcrt.dll, but not printf (it does import vfprintf).

Date Sujet#  Auteur
6 Jun 24 * Re: C23 thoughts and opinions37BGB-Alt
7 Jun 24 +* Re: C23 thoughts and opinions32Lawrence D'Oliveiro
7 Jun 24 i+* Re: C23 thoughts and opinions15BGB-Alt
8 Jun 24 ii`* Re: C23 thoughts and opinions14Lawrence D'Oliveiro
8 Jun 24 ii +* Re: C23 thoughts and opinions11BGB
8 Jun 24 ii i+- Re: C23 thoughts and opinions1Lawrence D'Oliveiro
13 Jun 24 ii i`* Re: C23 thoughts and opinions9Bonita Montero
13 Jun 24 ii i `* Re: C23 thoughts and opinions8BGB
14 Jun 24 ii i  `* Re: C23 thoughts and opinions7Bonita Montero
14 Jun 24 ii i   `* Re: C23 thoughts and opinions6BGB
14 Jun 24 ii i    +* Re: C23 thoughts and opinions2Bonita Montero
14 Jun 24 ii i    i`- Re: C23 thoughts and opinions1BGB
15 Jun 24 ii i    `* Re: C23 thoughts and opinions3Lawrence D'Oliveiro
16 Jun 24 ii i     `* Re: C23 thoughts and opinions2BGB
16 Jun 24 ii i      `- Re: C23 thoughts and opinions1Lawrence D'Oliveiro
9 Jun 24 ii +- Re: C23 thoughts and opinions1Lawrence D'Oliveiro
9 Jun 24 ii `- Re: C23 thoughts and opinions1Michael S
8 Jun 24 i`* Re: C23 thoughts and opinions16Malcolm McLean
8 Jun 24 i +* Re: C23 thoughts and opinions14BGB
9 Jun 24 i i`* Re: C23 thoughts and opinions13Michael S
9 Jun 24 i i +* Re: C23 thoughts and opinions11bart
9 Jun 24 i i i`* Re: C23 thoughts and opinions10Michael S
9 Jun 24 i i i +- Re: C23 thoughts and opinions1Michael S
9 Jun 24 i i i +* Re: C23 thoughts and opinions7bart
9 Jun 24 i i i i`* Re: C23 thoughts and opinions6Michael S
9 Jun 24 i i i i `* Re: C23 thoughts and opinions5bart
9 Jun 24 i i i i  `* Re: C23 thoughts and opinions4Michael S
9 Jun 24 i i i i   `* Re: C23 thoughts and opinions3bart
9 Jun 24 i i i i    `* Re: C23 thoughts and opinions2Michael S
10 Jun 24 i i i i     `- Re: C23 thoughts and opinions1bart
11 Jun 24 i i i `- Re: C23 thoughts and opinions1Lawrence D'Oliveiro
10 Jun 24 i i `- Re: C23 thoughts and opinions1BGB
9 Jun 24 i `- Re: C23 thoughts and opinions1Lawrence D'Oliveiro
7 Jun 24 `* Re: C23 thoughts and opinions4BGB
7 Jun 24  `* Re: C23 thoughts and opinions3Lawrence D'Oliveiro
7 Jun 24   `* Re: C23 thoughts and opinions2BGB
7 Jun 24    `- Re: C23 thoughts and opinions1BGB

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal