Welcome, Guest. Please login or register.

Author Topic: Free C Compilers for Amiga?  (Read 4170 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline nicholas

Re: Free C Compilers for Amiga?
« Reply #14 from previous page: June 10, 2013, 05:44:26 PM »
Quote from: mongo;737413
DICE is pretty portable and will compile and run on a UNIX system no problem.


Cool.

What's it like at handling code full of gnuisms?
“Een rezhim-i eshghalgar-i Quds bayad az sahneh-i ruzgar mahv shaved.” - Imam Ayatollah Sayyed  Ruhollah Khomeini
 

Offline nicholas

Re: Free C Compilers for Amiga?
« Reply #15 on: June 10, 2013, 05:46:52 PM »
Quote from: freqmax;737401
My concern regarding GCC was how the binariers used would turn out. The system requirements of the compile process is a lesser concern because it's most likely will be done using cross compilation if possible. As that would be way faster. ;)

The problem with SAS/C is getting the bits.. :P
(I proberbly has it on a few floppies which I think I know where they are which can be read in a likely working amiga computer which perhaps would like to do some RS232 - now where is improbability drive when you need it! :D)

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.

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 could actually run the 68k SAS/C on UNIX with this.

http://lallafa.de/blog/2011/12/building-a-real-project-on-vamos-running-sas-c/
“Een rezhim-i eshghalgar-i Quds bayad az sahneh-i ruzgar mahv shaved.” - Imam Ayatollah Sayyed  Ruhollah Khomeini
 

Offline ChaosLord

  • Hero Member
  • *****
  • Join Date: Nov 2003
  • Posts: 2608
    • Show only replies by ChaosLord
    • http://totalchaoseng.dbv.pl/news.php
Re: Free C Compilers for Amiga?
« Reply #16 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 mongo

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 964
    • Show only replies by mongo
Re: Free C Compilers for Amiga?
« Reply #17 on: June 10, 2013, 06:12:18 PM »
Quote from: nicholas;737415
Cool.

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


Probably not good.
 

Offline ChaosLord

  • Hero Member
  • *****
  • Join Date: Nov 2003
  • Posts: 2608
    • Show only replies by ChaosLord
    • http://totalchaoseng.dbv.pl/news.php
Re: Free C Compilers for Amiga?
« Reply #18 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
 

Offline freqmaxTopic starter

  • Hero Member
  • *****
  • Join Date: Mar 2006
  • Posts: 2179
    • Show only replies by freqmax
Re: Free C Compilers for Amiga?
« Reply #19 on: June 10, 2013, 06:56:39 PM »
Quote from: ChaosLord;737417
You should have bought yourself


Problem was that those cash were hard to get by ;)

I recall calculating the cost for a 20 MB RAM disk for the C64 long before that. But would it would have ended with a cost of 11 000 USD..
(I contemplated the possibility to have 8 slow (2 MHz) 6510 CPUs sharing the bus in a true multicore setup as well)
 

Offline nicholas

Re: Free C Compilers for Amiga?
« Reply #20 on: June 10, 2013, 07:35:54 PM »
Quote from: ChaosLord;737424
What is the definition of a Gnuism?

It isn't listed at the Urban Dictionary so the word must logically not exist :)


Lol

Google hits me with 35,000+ gnuism references.

gccism any better? ;)
“Een rezhim-i eshghalgar-i Quds bayad az sahneh-i ruzgar mahv shaved.” - Imam Ayatollah Sayyed  Ruhollah Khomeini
 

Offline Leffmann

  • Full Member
  • ***
  • Join Date: Feb 2011
  • Posts: 119
    • Show only replies by Leffmann
Re: Free C Compilers for Amiga?
« Reply #21 on: June 11, 2013, 12:30:23 AM »
Quote from: freqmax;737401
The problem with SAS/C is getting the bits.. :P
(I proberbly has it on a few floppies which I think I know where they are which can be read in a likely working amiga computer which perhaps would like to do some RS232 - now where is improbability drive when you need it! :D)

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.

Complete SAS/C installation with all extras and patches here:
https://dl.dropboxusercontent.com/u/8177628/sasc658.lha

You can run SAS/C from command line on other operating systems using AmiTools:
http://lallafa.de/blog/amiga-projects/amitools/

IMO the simplest solution is to compile VBCC for whatever system you want to work in. VBCC is really easy to compile, set up and use.