Welcome, Guest. Please login or register.

Author Topic: GCC 4.x or Clang for 68k  (Read 6342 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline nyteschaydeTopic starter

  • VIP / Donor - Lifetime Member
  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 643
    • Show all replies
    • http://www.nyteshade.com
GCC 4.x or Clang for 68k
« on: May 13, 2014, 03:00:56 AM »
What are the major barriers to having a modern version of either of these tools on 68k Amigas? I've seen a 4.5 version of GCC as a cross-compiler for cygwin and windows. Couldn't that be used to build a more modern version of GCC for native 68k?

I guess my questions are more centered around whether or not there is something major preventing it from happening or if it's just simply not been done. Anybody toyed with this? Karlos? Someone else?
Senior MTS Software Engineer with PayPal
Amigas: A1200T 060/603e PPC • A1200T 060 • A4000D 040 • A3000 (x2) • A2000 Vamp/V2 • A1200 (x4) • A1000 (x3) • A600 Vamp/V1 • A500
 

Offline nyteschaydeTopic starter

  • VIP / Donor - Lifetime Member
  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 643
    • Show all replies
    • http://www.nyteshade.com
Re: GCC 4.x or Clang for 68k
« Reply #1 on: May 13, 2014, 03:21:18 AM »
I was just wondering if there would be any major roadblocks from compiling GCC 4.x for 68k using the cross-compiler to build it? I suspect someone would have already tried that but...
Senior MTS Software Engineer with PayPal
Amigas: A1200T 060/603e PPC • A1200T 060 • A4000D 040 • A3000 (x2) • A2000 Vamp/V2 • A1200 (x4) • A1000 (x3) • A600 Vamp/V1 • A500
 

Offline nyteschaydeTopic starter

  • VIP / Donor - Lifetime Member
  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 643
    • Show all replies
    • http://www.nyteshade.com
Re: GCC 4.x or Clang for 68k
« Reply #2 on: May 13, 2014, 08:29:26 PM »
Well what got me started on all this was that I wanted to Objective-C on the Amiga. I know it's possible but many of the useful libs are missing and even getting a version of GCC for the Amiga that can compile Objective C is tough.

I've managed to some degree but I just noticed that in order to build something like GNUstep (in order to get the appropriate Foundation frameworks which would make Objective-C useful on the Amiga) you need at least 2.9.5.3. Now we do have that version, but I can't help but then wish for more ObjC features that exist in the newer compilers such as blocks, automatic property synthesis, etc...

I have CubicIDE which has GCC 3.3 for the 68k Amiga, but I cannot find those "alpha" versions anywhere on the web anymore. The GCC-lite packages on Aminet are very good and easy to get started with but they're only 2.7.0.
Senior MTS Software Engineer with PayPal
Amigas: A1200T 060/603e PPC • A1200T 060 • A4000D 040 • A3000 (x2) • A2000 Vamp/V2 • A1200 (x4) • A1000 (x3) • A600 Vamp/V1 • A500
 

Offline nyteschaydeTopic starter

  • VIP / Donor - Lifetime Member
  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 643
    • Show all replies
    • http://www.nyteshade.com
Re: GCC 4.x or Clang for 68k
« Reply #3 on: May 16, 2014, 10:17:35 PM »
Even the final versions of StormC and SAS/C had C++ built-in. I think there several others.
Senior MTS Software Engineer with PayPal
Amigas: A1200T 060/603e PPC • A1200T 060 • A4000D 040 • A3000 (x2) • A2000 Vamp/V2 • A1200 (x4) • A1000 (x3) • A600 Vamp/V1 • A500
 

Offline nyteschaydeTopic starter

  • VIP / Donor - Lifetime Member
  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 643
    • Show all replies
    • http://www.nyteshade.com
Re: GCC 4.x or Clang for 68k
« Reply #4 on: May 16, 2014, 10:23:27 PM »
Ooh neat. Thanks for the pointer about ObjFW.
Senior MTS Software Engineer with PayPal
Amigas: A1200T 060/603e PPC • A1200T 060 • A4000D 040 • A3000 (x2) • A2000 Vamp/V2 • A1200 (x4) • A1000 (x3) • A600 Vamp/V1 • A500