Poster | Thread |
ferrels
| |
LLVM Clang Mainlines Support For The Motorola 68000 Series (m68k) Posted on 8-Mar-2021 23:37:20
| | [ #1 ] |
|
|
|
Cult Member |
Joined: 20-Oct-2005 Posts: 922
From: Arizona | | |
|
| |
Status: Offline |
|
|
Samurai_Crow
| |
Re: LLVM Clang Mainlines Support For The Motorola 68000 Series (m68k) Posted on 9-Mar-2021 2:35:41
| | [ #2 ] |
|
|
|
Elite Member |
Joined: 18-Jan-2003 Posts: 2320
From: Minnesota, USA | | |
|
| @ferrels
Yay! Even though it's 68k Linux, it might help us get the Rust programming language and WebAssembly. |
|
Status: Offline |
|
|
kamelito
| |
Re: LLVM Clang Mainlines Support For The Motorola 68000 Series (m68k) Posted on 9-Mar-2021 16:32:23
| | [ #3 ] |
|
|
|
Cult Member |
Joined: 26-Jul-2004 Posts: 813
From: Unknown | | |
|
| @Samurai_Crow
Better code generation of C code? |
|
Status: Offline |
|
|
Samurai_Crow
| |
Re: LLVM Clang Mainlines Support For The Motorola 68000 Series (m68k) Posted on 10-Mar-2021 1:24:25
| | [ #4 ] |
|
|
|
Elite Member |
Joined: 18-Jan-2003 Posts: 2320
From: Minnesota, USA | | |
|
| @kamelito
It's comparable to GCC. |
|
Status: Offline |
|
|
Hitman
| |
Re: LLVM Clang Mainlines Support For The Motorola 68000 Series (m68k) Posted on 11-Mar-2021 17:56:14
| | [ #5 ] |
|
|
|
Member |
Joined: 16-Jul-2005 Posts: 99
From: Berlin, Germany | | |
|
| @ferrels
This is really great news! I considered doing it myself but that would end up taking over my whole life for the next 5 years!
Clang's C++ error reports are really great compared to GCC's, although GCC's have improved a lot in recent versions. Getting Clang to the level of maturity of Bebbo's GCC cross compiler would a lot of work though but it would certainly be nice! And Rust on Amiga might finally be the excuse I'm looking for to learn it (Rust).
|
|
Status: Offline |
|
|
bison
| |
Re: LLVM Clang Mainlines Support For The Motorola 68000 Series (m68k) Posted on 11-Mar-2021 21:39:11
| | [ #6 ] |
|
|
|
Elite Member |
Joined: 18-Dec-2007 Posts: 2112
From: N-Space | | |
|
| @Hitman
Quote:
although GCC's have improved a lot in recent versions. |
Do you know what drives me nuts, though? If you mistype something in your program, gcc will come back and say "did you mean..." followed by a completely asinine suggestion. There seems to be no way to turn it off._________________ "Unix is supposed to fix that." -- Jay Miner |
|
Status: Offline |
|
|
simplex
| |
Re: LLVM Clang Mainlines Support For The Motorola 68000 Series (m68k) Posted on 12-Mar-2021 0:30:51
| | [ #7 ] |
|
|
|
Cult Member |
Joined: 5-Oct-2003 Posts: 896
From: Hattiesburg, MS | | |
|
| @bison Quote:
Do you know what drives me nuts, though? If you mistype something in your program, gcc will come back and say "did you mean..." followed by a completely asinine suggestion. |
Hmm, I've felt the suggestions were not too bad, but clang's error messages really are much better.
On the other hand, it's C/C++ we're talking about, so there's only so much you can do._________________ I've decided to follow an awful lot of people I respect and leave AmigaWorld. If for some reason you want to talk to me, it shouldn't take much effort to find me. |
|
Status: Offline |
|
|
bison
| |
Re: LLVM Clang Mainlines Support For The Motorola 68000 Series (m68k) Posted on 13-Mar-2021 0:00:12
| | [ #8 ] |
|
|
|
Elite Member |
Joined: 18-Dec-2007 Posts: 2112
From: N-Space | | |
|
| @simplex
Quote:
clang's error messages really are much better |
Everyone says that, but the only significant thing I've noticed is clang tells you the types on a pointer mismatch, e.g. char *[6] vs. char **. gcc leaves you wondering.
Update:
A real-life example of one of gcc's ridiculous "did you mean" error messages:
Quote:
scan.l:51:2: error: implicit declaration of function ‘assert’; did you mean ‘qsort’? |
Well, let's see:
void assert(scalar expression);
qsort(void *base, size_t nmemb, size_t size, int (*compar)(const void *, const void *));
Yeah, good suggestion gcc. Last edited by bison on 23-Mar-2021 at 09:14 PM.
_________________ "Unix is supposed to fix that." -- Jay Miner |
|
Status: Offline |
|
|