Amiga.org

Amiga computer related discussion => Amiga Software Issues and Discussion => Topic started by: tnt23 on February 21, 2007, 06:10:24 AM

Title: Which C compiler to use on A1200 with 8M of Fast RAM?
Post by: tnt23 on February 21, 2007, 06:10:24 AM
Hi,

I just need to compile simple 'console' apps to directly work with peripherals, like serial and floppy ports.

What tools can be used on almost unexpanded A1200 (only 8M of Fast RAM available) to write in C? I am familiar with m68k command set since I fiddled with Palm handhelds, but writing in asm seems rather complex to me.

Thanks.
Title: Re: Which C compiler to use on A1200 with 8M of Fast RAM?
Post by: Piru on February 21, 2007, 07:29:09 AM
SAS/C (commercial), if you can get hold of it.
Title: Re: Which C compiler to use on A1200 with 8M of Fast RAM?
Post by: skurk on February 21, 2007, 07:37:17 AM
You can also try dice (http://aminet.net/package/dev/c/dice-3.16), vbcc (http://aminet.net/package/dev/c/vbcc_bin_amigaos68k) or (my favorite) gcc (http://aminet.net/package/dev/gcc/gcc270-base).

The above links may not be correct nor the latest version, it's 08:36 in the morning and I just searched Aminet really quick.
Title: Re: Which C compiler to use on A1200 with 8M of Fast RAM?
Post by: tnt23 on February 21, 2007, 07:46:46 AM
@skurk

Thanks! I'd prefer gcc if it only would run on my setup.
Title: Re: Which C compiler to use on A1200 with 8M of Fast RAM?
Post by: SamuraiCrow on February 21, 2007, 06:51:13 PM
If you're not using C++, then get VBCC.  It loops more efficiently than SAS.  Just don't use switch/case structures with VBCC since they aren't optimized at all.  It's latest version is 0.8i or so.