Welcome, Guest. Please login or register.

Author Topic: Best C compiler for Amiga?  (Read 20132 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline ChaosLord

  • Hero Member
  • *****
  • Join Date: Nov 2003
  • Posts: 2608
    • Show all replies
    • http://totalchaoseng.dbv.pl/news.php
Re: Best C compiler for Amiga?
« on: August 19, 2010, 02:21:38 AM »
If you are planning to debug your software then you want to use the SASC fully Amigatized C compiler.  You can debug your code on a single Amiga using the GUI Source Level debugger or you can debug it from another Amiga across the serial port using the GUI source level debugger.


If you do not care about debugging then use VBCC.


Matt can give you more detailed infos

/me casts Summon Matt Hey

Matt Hey suddenly appears in a puff of mystical smoke :)
Wanna try a wonderfull strategy game with lots of handdrawn anims,
Magic Spells and Monsters, Incredible playability and lastability,
English speech, etc. Total Chaos AGA
 

Offline ChaosLord

  • Hero Member
  • *****
  • Join Date: Nov 2003
  • Posts: 2608
    • Show all replies
    • http://totalchaoseng.dbv.pl/news.php
Re: Best C compiler for Amiga?
« Reply #1 on: August 19, 2010, 08:49:35 AM »
Quote from: neofree;575337
What about a simple editor and a command line compiler?

Will anything like that run on an A500?

Thanks

SASC FTW!

I had a hard drive on my A500, A2000, A3000, A4000 and A1200 computers.  I assume you do too?
Wanna try a wonderfull strategy game with lots of handdrawn anims,
Magic Spells and Monsters, Incredible playability and lastability,
English speech, etc. Total Chaos AGA
 

Offline ChaosLord

  • Hero Member
  • *****
  • Join Date: Nov 2003
  • Posts: 2608
    • Show all replies
    • http://totalchaoseng.dbv.pl/news.php
Re: Best C compiler for Amiga?
« Reply #2 on: August 19, 2010, 08:59:45 AM »
Quote from: neofree;575339
What was the standard compiler for A2000 back in the day?  Certainly it had a compiler available for purchase?
It was called Lattice C, which was later renamed to SAS/C.
SAS/C is just an improved version of Lattice C with MegaDebugger + other utils.

Quote
I don't care about MUI, RTG, etc.  I prefer original A500/A2000 (and A3000) computers ... If I want to keep upgrading an Amiga to be modern I might as well use a PC (which I have several).
You sound exactly like me.  This means our brainwaves are oscillating at the same frequency. :)  I Love my SASC so logically you will too :)

I have compiled many exes with it for OS 1.2, 1.3, 2.04, 3.0.  Works a treat.

It comes with a text editor which works together with the compiler.  Isn't that what they call an IDE?

But I am oldskool, I use CED + AmigaDos because I am too lazy to install the Arexx scripts to autolink CED and the compiler together.
Wanna try a wonderfull strategy game with lots of handdrawn anims,
Magic Spells and Monsters, Incredible playability and lastability,
English speech, etc. Total Chaos AGA
 

Offline ChaosLord

  • Hero Member
  • *****
  • Join Date: Nov 2003
  • Posts: 2608
    • Show all replies
    • http://totalchaoseng.dbv.pl/news.php
Re: Best C compiler for Amiga?
« Reply #3 on: August 19, 2010, 05:53:31 PM »
@Hardlink
The trouble with gcc is that each new version creates noticeably worse code.  So for many years now it has been rather ridiculous.

So if you want decent code compiled then you need to either use some old gcc from 1990s such as gcc v2.95 or SASC 6.5 or VBCC.

Good luck :)
Wanna try a wonderfull strategy game with lots of handdrawn anims,
Magic Spells and Monsters, Incredible playability and lastability,
English speech, etc. Total Chaos AGA
 

Offline ChaosLord

  • Hero Member
  • *****
  • Join Date: Nov 2003
  • Posts: 2608
    • Show all replies
    • http://totalchaoseng.dbv.pl/news.php
Re: Best C compiler for Amiga?
« Reply #4 on: August 19, 2010, 07:55:20 PM »
My magic is getting a bit rusty and slow :D
Wanna try a wonderfull strategy game with lots of handdrawn anims,
Magic Spells and Monsters, Incredible playability and lastability,
English speech, etc. Total Chaos AGA
 

Offline ChaosLord

  • Hero Member
  • *****
  • Join Date: Nov 2003
  • Posts: 2608
    • Show all replies
    • http://totalchaoseng.dbv.pl/news.php
Re: Best C compiler for Amiga?
« Reply #5 on: August 20, 2010, 04:17:09 AM »
Quote from: Steady;575454
If you are using the classic hardware to compile, you are much better off with a hard drive at least. It is a nightmare otherwise and SLOWWWWW.
I agree.  A bare minimum of 4 MB Fast ram + a Hard drive is needed else the compile process goes 10x to 100x slower than it could.
Wanna try a wonderfull strategy game with lots of handdrawn anims,
Magic Spells and Monsters, Incredible playability and lastability,
English speech, etc. Total Chaos AGA