Amiga.org

Amiga computer related discussion => Amiga Software Issues and Discussion => Topic started by: fishy_fiz on January 04, 2010, 07:22:54 AM

Title: OS 3.x gcc, etc.
Post by: fishy_fiz on January 04, 2010, 07:22:54 AM
Finally rebuilt my old Amithlon machine as Id like to get back into devving for OS3.x. Just wondering if anyone know of the existance of any preconfigured gcc+binutils, etc, etc archives available for os3.x ? Also, what is the latest versions of gcc available for os3.x ? Actually any info in regards to latest os3.x dev tools would be appreciated. Thanks.
Title: Re: OS 3.x gcc, etc.
Post by: Karlos on January 04, 2010, 07:59:42 AM
Geek Gadgets would be your best bet for doing all the development within 3.x, I think. There's also AmiDevCPP, provided you don't mind using Windows.
Title: Re: OS 3.x gcc, etc.
Post by: 0amigan0 on January 04, 2010, 10:12:29 AM
Quote from: fishy_fiz;536183
Finally rebuilt my old Amithlon machine as Id like to get back into devving for OS3.x. Just wondering if anyone know of the existance of any preconfigured gcc+binutils, etc, etc archives available for os3.x ? Also, what is the latest versions of gcc available for os3.x ? Actually any info in regards to latest os3.x dev tools would be appreciated. Thanks.


You may be better off cross-compiling os 3.x programs on a linux setup.
See here http://cross.zerohero.se/os3.html

Also, make sure u use libnix under your cross-environment linux setup, so as to AVOID ixemul.library under Amiga.
Title: Re: OS 3.x gcc, etc.
Post by: fishy_fiz on January 04, 2010, 10:26:37 AM
I much prefer to develop natively. I have no Linux machine anyway.
Title: Re: OS 3.x gcc, etc.
Post by: x303 on January 04, 2010, 12:03:44 PM
http://ftp.back2roots.org/geekgadgets/amiga/m68k/alpha/gcc/

:afro:
Title: Re: OS 3.x gcc, etc.
Post by: Fats on January 04, 2010, 08:07:50 PM
Quote from: fishy_fiz;536183
Finally rebuilt my old Amithlon machine as Id like to get back into devving for OS3.x. Just wondering if anyone know of the existance of any preconfigured gcc+binutils, etc, etc archives available for os3.x ? Also, what is the latest versions of gcc available for os3.x ? Actually any info in regards to latest os3.x dev tools would be appreciated. Thanks.


If you are not sold to gcc you can also have a look at vbcc (http://sun.hasenbraten.de/vbcc/index.php?view=main). They keep providing m68k versions of their compiler. It's only C though and no c++.

greets,
Staf.
Title: Re: OS 3.x gcc, etc.
Post by: mousehouse on January 04, 2010, 08:15:34 PM
Just curious... have the last few remaining developers moved away from SAS/C? Back in "the days" it was _the_ compiler...
Title: Re: OS 3.x gcc, etc.
Post by: x303 on January 04, 2010, 08:30:40 PM
Quote from: mousehouse;536312
Just curious... have the last few remaining developers moved away from SAS/C?
I think they have every compiler available, but can only use one at the time. SAS/C is great if you develope for amiga 68k only, but if you want to port something else, gcc is a bit better for that purpose.

x303 :D :D :D
Title: Re: OS 3.x gcc, etc.
Post by: NovaCoder on January 04, 2010, 11:18:04 PM
Quote from: fishy_fiz;536204
I much prefer to develop natively. I have no Linux machine anyway.



StormC V4 uses gcc.
Title: Re: OS 3.x gcc, etc.
Post by: Karlos on January 04, 2010, 11:36:00 PM
Quote from: NovaCoder;536351
StormC V4 uses gcc.


Yep, but it's a 2.95 strain. Some caveats apply. It doesn't come with much (read any) in the way of STL support out of the box, though I believe there was a third party port.
Title: Re: OS 3.x gcc, etc.
Post by: NovaCoder on January 05, 2010, 06:30:22 AM
Quote from: Karlos;536360
Yep, but it's a 2.95 strain. Some caveats apply. It doesn't come with much (read any) in the way of STL support out of the box, though I believe there was a third party port.
Yes, that is correct...you can add STL (http://download.haage-partner.de/Amiga/Storm/amigastlport.readme) to StormC.
Title: Re: OS 3.x gcc, etc.
Post by: walkero on January 05, 2010, 08:21:53 AM
Try to use the CubicIDE demo (http://devplex.awardspace.biz/cubic/download.html) which installs the gcc and is ready to compile. Try the CubicIDE and if you don't like it, keep the gcc packages as it is and use an other editor.
Title: Re: OS 3.x gcc, etc.
Post by: bhoggett on January 05, 2010, 11:57:31 AM
Quote from: walkero;536462
Try to use the CubicIDE demo (http://devplex.awardspace.biz/cubic/download.html) which installs the gcc and is ready to compile. Try the CubicIDE and if you don't like it, keep the gcc packages as it is and use an other editor.

Do you mean the one that's not available?
Title: Re: OS 3.x gcc, etc.
Post by: unusedunused on January 05, 2010, 12:29:33 PM
Quote from: fishy_fiz;536183
Finally rebuilt my old Amithlon machine as Id like to get back into devving for OS3.x. Just wondering if anyone know of the existance of any preconfigured gcc+binutils, etc, etc archives available for os3.x ? Also, what is the latest versions of gcc available for os3.x ? Actually any info in regards to latest os3.x dev tools would be appreciated. Thanks.


what do you want develop ?.Do you want port and enhance Linux Programs ?

Here is also from shinkuro a GCC 2.95 install here

http://amigaitalia.altervista.org/shinky/Develop_1-3.lha
Title: Re: OS 3.x gcc, etc.
Post by: fishy_fiz on January 05, 2010, 01:15:22 PM
Yes, a lot of what I want it for is to port some open source software to os3.x, but I'm also wanting to make some corss platform (os3.x/aros) original software too.
Id thought there was a gcc v4.something for os3.x, or is 3.4 the latest ?
Title: Re: OS 3.x gcc, etc.
Post by: Crumb on January 05, 2010, 01:57:38 PM
@fishy_fiz

Bernd_afa ported the latest GCC 4.x branches to OS3 IIRC.
Title: Re: OS 3.x gcc, etc.
Post by: unusedunused on January 05, 2010, 02:52:57 PM
If you want Port modern Unix apps, best is you use ixemul and GCC 4.use libnix is slow when a program do lots of memalloc (C++ do) and miss lots functions newer Unix Progs need (C99)

Here you can find in folder compilers the Version 4.3.2 for cygwin.It work on amidevcpp.

https://sourceforge.net/projects/amiga/files/

newer versions i have too and can easy compile from GCC source.
how can compile a GCC is add in the readme.
Title: Re: OS 3.x gcc, etc.
Post by: mousehouse on December 21, 2011, 07:24:45 PM
Sorry for resurrecting an old thread, but I'm trying to get a GCC install done that allows me to build C programs for 68K and WarpOS... can run on WarpOS, I do not intend to do any cross compiling.

I found the needed file (I think) at http://off.free.fr/gccppc/ which I mirrored just to be safe (these sites are disappearing like euro's at the moment), but I have no clue on how to start... I unpacked the files according to the read me, but I probably miss assigns and a lot of other stuff.

Any pointers?