Welcome, Guest. Please login or register.

Author Topic: Free C Compilers for Amiga?  (Read 4194 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: Free C Compilers for Amiga?
« on: June 10, 2013, 03:40:08 PM »
I recommend SASC since it has the best source level debugger by far.

I recommend SASC since it supports defining how much stack space you want allocated for your program by using the __STACK__ built-in var.

I recommend SASC since it is really easy to link asm code .o files into your project.

I recommend SASC because it features many nifty amigatized features like __CHIP etc.

I recommend SASC because you can run your code on one machine while remote controlling it with the Source Level Debugger GUI on another machine.

The very latest version of DICE is nice too.

If you are writing your own original code then AmigaE and PortableE should definitely be considered, as the E language syntax is a giant upgrade from primitive old C.

If you are just porting old C code then of course you should probably just stick with C.  As one of the projects you are interested is already set up for SASC makefile, compiler and linker then you should really just use that.  Otherwise you will just waste time fiddling with makefile adjustments.  p.s. I hate makefiles :)
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: Free C Compilers for Amiga?
« Reply #1 on: June 10, 2013, 05:48:35 PM »
Quote from: freqmax;737401


The most desired setup considering the answers here would be a unix system running DICE using SAS/C Makefiles to produce binaries which is then tested with UAE.

If you are going to run UAE anyway
and
if you are going to run your .exe file in UAE anyway
then
Why not just go ahead and use SASC inside UAE and do everything from there?

Then you get to use the ultimate Amiga C compiler and you can do your compile test cycles all together in one smooth operation without having to keep exiting UAE over and over again.

Amiga has awesome text editors.
Amiga has Arexx.
Amiga can use 2TB Hard drives.
Amiga can address 4GB of memory space.
Amiga text editors can run on your 1920x1080 monitor.



Quote

I have done SAS/C years ago with 1 MB A500 using a floppy drive.. *pain* but it made it possible to code C at home..! then I got a HDD.. tight memory but less pain. Had to quit editor for each compile to free upp memory.. no swap.

You should have bought yourself one of those accellerator cards that everyone bought back in the old days.  A 25Mhz 030 with +16MB or +32MB
of fastram in addition to the +4MB of fastram that was inside your SCSI HD controller sidecar.

It made C compiling much more tolerable back in the old days.
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: Free C Compilers for Amiga?
« Reply #2 on: June 10, 2013, 06:50:24 PM »
Quote from: nicholas;737415
Cool.

What's it like at handling code full of gnuisms?


What is the definition of a Gnuism?

It isn't listed at the Urban Dictionary so the word must logically not exist :)
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