Welcome, Guest. Please login or register.

Author Topic: Modern GCC stack  (Read 2124 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 only replies by nyteschayde
    • http://www.nyteshade.com
Modern GCC stack
« on: April 23, 2013, 05:08:34 AM »
So, I was thinking about some of my general thoughts that I posted in the Amiga Game Programming thread moments ago. Part of what I want when I sit down at an Amiga these days to write code is a modern up to date version of GCC on the Amiga; including all the GNU tools to go with it.

I have never personally compiled any version of GCC, let alone one for the Amiga. I think the most recent version I have came with CubicIDE and is 3.x something. Have any of you ever compiled GCC on an Amiga or cross compiled a version for the Amiga? Is it hard?

It seems in order to more easily port software out on the web these days we'd need to have a recent version of GCC (at least something in the 4.x range) and all the associated tools like automake, autoconf, etc... Finally we'd need, I think, a version of bash or sh that is somewhat recent.

Is there anything missing? If we had these and one of the more recent builds of ixemul.library from http://sourceforge.net/projects/amiga/files/ixemul.library/ then perhaps porting more and more software with the good 'ole tripple standard suite of compilation commands might be easier

  sh configure
  make
  make install

 Thoughts? Am I naive in my thoughts? Am I missing something bigger?
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 EDanaII

  • Hero Member
  • *****
  • Join Date: Dec 2006
  • Posts: 579
    • Show only replies by EDanaII
    • http://www.EdwardGDanaII.info
Re: Modern GCC stack
« Reply #1 on: April 23, 2013, 06:10:40 AM »
Well, I use Eclipse and ZeroHero's cross-compiler. Certainly more "modern" than most Amiga options, although I think Cubic uses a similar version of GCC... I have very few problems with it, although I know some people (NovaCoder) have had issues. But that may be that I'm not skilled enough with C++ to know where it falls short.

If you're interested you can look here and/or here. :)

But I suspect you're looking for something more modern than this.
Ed.
 

Offline nyteschaydeTopic starter

  • VIP / Donor - Lifetime Member
  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 643
    • Show only replies by nyteschayde
    • http://www.nyteshade.com
Re: Modern GCC stack
« Reply #2 on: April 23, 2013, 06:22:13 AM »
Thanks, I'll look over the links. I was hinting at a community effort to make an updated compiler and associated tools for 68k
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 OlafS3

Re: Modern GCC stack
« Reply #3 on: April 23, 2013, 11:49:02 AM »
Quote from: nyteschayde;732645
Thanks, I'll look over the links. I was hinting at a community effort to make an updated compiler and associated tools for 68k


I have created a forum for developer perhaps you could post your ideas there?

http://www.amigacoding.de
 

Offline EDanaII

  • Hero Member
  • *****
  • Join Date: Dec 2006
  • Posts: 579
    • Show only replies by EDanaII
    • http://www.EdwardGDanaII.info
Re: Modern GCC stack
« Reply #4 on: April 23, 2013, 03:10:02 PM »
I don't know if this helps or not, but, just for giggles, I did a quick search and found this: GCC m68k Porting. Might take a closer look at it later, but for now... I'd better get my butte back to work. ;)
Ed.
 

Offline EDanaII

  • Hero Member
  • *****
  • Join Date: Dec 2006
  • Posts: 579
    • Show only replies by EDanaII
    • http://www.EdwardGDanaII.info
Re: Modern GCC stack
« Reply #5 on: April 23, 2013, 03:13:45 PM »
Oh, I should add... if you poke around a bit, there is a report on the status of the Amiga version. 4.2, I think...
Ed.
 

Offline Fats

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 672
    • Show only replies by Fats
Re: Modern GCC stack
« Reply #6 on: April 23, 2013, 06:25:17 PM »
Quote from: nyteschayde;732641
So, I was thinking about some of my general thoughts that I posted in the Amiga Game Programming thread moments ago. Part of what I want when I sit down at an Amiga these days to write code is a modern up to date version of GCC on the Amiga; including all the GNU tools to go with it.

I have never personally compiled any version of GCC, let alone one for the Amiga. I think the most recent version I have came with CubicIDE and is 3.x something. Have any of you ever compiled GCC on an Amiga or cross compiled a version for the Amiga? Is it hard?


I think the m68k code produced by version of gcc after the 3.x version now used often on AmigaOS was not good. I think only more recent gcc version have improved again due to Coldfire support.
BTW, AROS has gcc v4.6, also for m68k version. Don't know how easy it would be to make clib2 or ixemul m68k programs with it and thus not using AROS' arosc.library.

Quote from: nyteschayde;732641

Is there anything missing? If we had these and one of the more recent builds of ixemul.library from http://sourceforge.net/projects/amiga/files/ixemul.library/ then perhaps porting more and more software with the good 'ole tripple standard suite of compilation commands might be easier

  sh configure
  make
  make install


If you make all programs portable this way it basically means you have implemented Linux on top of AmigaOS. I am not convinced that should be a target.
Programs not using any of the AmigaOS features could better be run on Linux or Windows. All IMHO of course.

greets,
Staf.
Trust me...                                              I know what I\'m doing
 

Offline commodorejohn

  • Hero Member
  • *****
  • Join Date: Mar 2010
  • Posts: 3165
    • Show only replies by commodorejohn
    • http://www.commodorejohn.com
Re: Modern GCC stack
« Reply #7 on: April 23, 2013, 07:55:21 PM »
I agree with Staf; no point developing for Amiga if you're not going develop for Amiga!
Computers: Amiga 1200, DEC VAXStation 4000/60, DEC MicroPDP-11/73
Synthesizers: Roland JX-10/MT-32/D-10, Oberheim Matrix-6, Yamaha DX7/FB-01, Korg MS-20 Mini, Ensoniq Mirage/SQ-80, Sequential Circuits Prophet-600, Hohner String Performer

"\'Legacy code\' often differs from its suggested alternative by actually working and scaling." - Bjarne Stroustrup