Amiga.org

Operating System Specific Discussions => Amiga OS => Amiga OS -- Development => Topic started by: ShawnBaxe on July 21, 2004, 11:54:44 PM

Title: Which 68k compiler is your favourite one and why?
Post by: ShawnBaxe on July 21, 2004, 11:54:44 PM
This could lead to an interesting discussion :-) So...which 68k compiler do you prefer?

My favourite one is StormC 3 (StormGCC is nice, but I had some problem with it...). The main reason for my decision is simple: StormC complies great with OS 3.5/3.9 (hope my English is correct).

Now...it's your turn, folks :-D
Title: Re: Which 68k compiler is your favourite one and why?
Post by: Karlos on July 22, 2004, 12:02:12 AM
StormC3 is ok as long as you stick to C. Try to do some serious C++ with it and you'll go mad. That said, I have to agree, for small scale projects it's a damn handy tool :-)
Title: Re: Which 68k compiler is your favourite one and why?
Post by: shIva on July 22, 2004, 12:03:59 AM
stormc 3 - just because i bought it some years ago and got used to it. nice debugger and fast executables :-)

OT btw : if anyone knows how to configure xemacs to gcc please pm me.
Title: Re: Which 68k compiler is your favourite one and why?
Post by: Piru on July 22, 2004, 12:25:18 AM
SAS/C, I still consider it best for 68k.

StormC V3 generates slow code and is buggy. The compiler was replaced with GCC for a reason.
Title: Re: Which 68k compiler is your favourite one and why?
Post by: ShawnBaxe on July 22, 2004, 12:45:49 AM
SAS/C...I could never get it, because it is not sold anymore...I had DICE, which seemed to be SAS compatible (well...almost)...

I'd like to try SAS/C...is there still any way to buy it somewhere?
Title: Re: Which 68k compiler is your favourite one and why?
Post by: itix on July 22, 2004, 01:08:47 AM
VBCC. It is easy to use, generates fairly good code and is free.

I've got free StormC 3 from Amiga Developer CD but generates quite poorly optimized code.

Title: Re: Which 68k compiler is your favourite one and why?
Post by: drHirudo on July 22, 2004, 03:05:53 AM
VBCC is the best. It optimize, crosscompile and is easy to install, configure and use.
Title: Re: Which 68k compiler is your favourite one and why?
Post by: Amiga1200PPC on July 22, 2004, 03:54:32 AM
AmigaOberon or Cluster are very nice.
Title: Re: Which 68k compiler is your favourite one and why?
Post by: crystall on July 22, 2004, 09:11:46 AM
Quote
VBCC is the best. It optimize, crosscompile and is easy to install, configure and use.


I second that, vbcc code generation is excellent though it shows off more with PowerPC targets, it's also very easy to setup and use. It's really damn easy to recompile too, I'm using it as a cross-compiler both on NetBSD-i386 and MacOS X.
Title: Re: Which 68k compiler is your favourite one and why?
Post by: pjhutch on July 22, 2004, 12:26:36 PM
I personally like Storm C 4 with its nice integrated front end and compiles clean C programs. Although I cannot get it to compile WB programs that can be launched from Workbench properly (Itried including wbstartup.h but doesn`t seem to make a difference). You run the program but nothing happens, I have to run them from a Project icon.

SAS/C 6.58 has been good but lacks any decent IDE. There is a lot of legacy stuff and C++ support is v.poor.

GCC is ok but can be a nightmare to use for beginners. Gccopts doesn`t have enough options included. There is no option for including maths (-lm) when running make, I have to do it via gcc compiler command line. A pain. BTW, where can I find a pre-compiled version of GCC 3.x for 68k (only 2.95 is on Aminet)?
Title: Re: Which 68k compiler is your favourite one and why?
Post by: Dietmar on July 22, 2004, 02:55:48 PM
> GCC is ok but can be a nightmare to use for beginners. Gccopts doesn`t have enough options included.

Use gccprefs instead (and vbccprefs for vbcc). You can lift these tools from a GoldED trial version, they are in devkits:tools/cprefs/... after installation, along with a manual: Screenshot (http://home.arcor.de/dtmrelrt/images/gccprefs.png)

> BTW, where can I find a pre-compiled version of GCC 3.x for 68k (only 2.95 is on Aminet)?

On the geekgadgets site or, much easier (but longer to download, 75MB), in the complete GoldED trial version, included as "C/C++ development environment". That will install gcc for you and make inlines etc. You can delete GoldED after the installation if you are just interested in gcc 3.x.x: Download (http://home.arcor.de/dtmrelrt/projects/golded/files.htm)
Title: Re: Which 68k compiler is your favourite one and why?
Post by: ChaosLord on July 22, 2004, 07:46:06 PM
SAS/C

It is mostly harmless.