Amiga.org

Amiga computer related discussion => Amiga Software Issues and Discussion => Topic started by: nyteschayde on April 23, 2013, 05:08:34 AM

Title: Modern GCC stack
Post by: nyteschayde 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?
Title: Re: Modern GCC stack
Post by: EDanaII 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 (http://www.amiga.org/forums/showthread.php?t=60253) and/or here (http://www.amigacoding.de/index.php?PHPSESSID=008475b7002e7f9462a034b2259505b3&topic=17.0). :)

But I suspect you're looking for something more modern than this.
Title: Re: Modern GCC stack
Post by: nyteschayde 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
Title: Re: Modern GCC stack
Post by: OlafS3 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
Title: Re: Modern GCC stack
Post by: EDanaII 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 (http://wiki.debian.org/M68k). Might take a closer look at it later, but for now... I'd better get my butte back to work. ;)
Title: Re: Modern GCC stack
Post by: EDanaII 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...
Title: Re: Modern GCC stack
Post by: Fats 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.
Title: Re: Modern GCC stack
Post by: commodorejohn 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!