Click Here
home features news forums classifieds faqs links search
6019 members 
Amiga Q&A /  Free for All /  Emulation /  Gaming / (Latest Posts)
Login

Nickname

Password

Lost Password?

Don't have an account yet?
Register now!

Support Amigaworld.net
Your support is needed and is appreciated as Amigaworld.net is primarily dependent upon the support of its users.
Donate

Menu
Main sections
» Home
» Features
» News
» Forums
» Classifieds
» Links
» Downloads
Extras
» OS4 Zone
» IRC Network
» AmigaWorld Radio
» Newsfeed
» Top Members
» Amiga Dealers
Information
» About Us
» FAQs
» Advertise
» Polls
» Terms of Service
» Search

IRC Channel
Server: irc.amigaworld.net
Ports: 1024,5555, 6665-6669
SSL port: 6697
Channel: #Amigaworld
Channel Policy and Guidelines

Who's Online
48 crawler(s) on-line.
 34 guest(s) on-line.
 0 member(s) on-line.



You are an anonymous user.
Register Now!
 eliyahu:  13 mins ago
 hotrod:  32 mins ago
 cgutjahr:  33 mins ago
 m0lebrain:  39 mins ago
 DiscreetFX:  44 mins ago
 BinoX:  50 mins ago
 Derfs:  53 mins ago
 AP:  57 mins ago
 davidf215:  58 mins ago
 zipper:  1 hr 5 mins ago

/  Forum Index
   /  Classic Amiga Hardware
      /  LLVM Clang Mainlines Support For The Motorola 68000 Series (m68k)
Register To Post

PosterThread
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: 854
From: Arizona



https://www.phoronix.com/scan.php?page=news_item&px=LLVM-Mainlines-m68k

 Status: Offline
Profile     Report this post  
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: 2275
From: Minnesota, USA

@ferrels

Yay! Even though it's 68k Linux, it might help us get the Rust programming language and WebAssembly.

 Status: Offline
Profile     Report this post  
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: 764
From: Unknown

@Samurai_Crow

Better code generation of C code?

 Status: Offline
Profile     Report this post  
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: 2275
From: Minnesota, USA

@kamelito

It's comparable to GCC.

 Status: Offline
Profile     Report this post  
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
Profile     Report this post  
bison 
Re: LLVM Clang Mainlines Support For The Motorola 68000 Series (m68k)
Posted on 11-Mar-2021 21:39:11
#6 ]
Super Member
Joined: 18-Dec-2007
Posts: 1825
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
Profile     Report this post  
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: 889
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.

_________________

 Status: Offline
Profile     Report this post  
bison 
Re: LLVM Clang Mainlines Support For The Motorola 68000 Series (m68k)
Posted on 13-Mar-2021 0:00:12
#8 ]
Super Member
Joined: 18-Dec-2007
Posts: 1825
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
Profile     Report this post  

[ home ][ about us ][ privacy ] [ forums ][ classifieds ] [ links ][ news archive ] [ link to us ][ user account ]
Copyright (C) 2000 - 2019 Amigaworld.net.
Amigaworld.net was originally founded by David Doyle