Welcome, Guest. Please login or register.

Author Topic: Which C compiler to use on A1200 with 8M of Fast RAM?  (Read 1338 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline tnt23Topic starter

  • Full Member
  • ***
  • Join Date: Dec 2005
  • Posts: 195
    • Show only replies by tnt23
Which C compiler to use on A1200 with 8M of Fast RAM?
« 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.
 

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show only replies by Piru
    • http://www.iki.fi/sintonen/
Re: Which C compiler to use on A1200 with 8M of Fast RAM?
« Reply #1 on: February 21, 2007, 07:29:09 AM »
SAS/C (commercial), if you can get hold of it.
 

Offline skurk

  • Hero Member
  • *****
  • Join Date: Dec 2006
  • Posts: 929
    • Show only replies by skurk
Re: Which C compiler to use on A1200 with 8M of Fast RAM?
« Reply #2 on: February 21, 2007, 07:37:17 AM »
You can also try dice, vbcc or (my favorite) gcc.

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.
Code 6502 asm or... DIE!!

[C64, C128, A500, A600, A1200, A3000, MBP+Mini, Efika/MOS2.1, Sam440 w/AOS4.1
 

Offline tnt23Topic starter

  • Full Member
  • ***
  • Join Date: Dec 2005
  • Posts: 195
    • Show only replies by tnt23
Re: Which C compiler to use on A1200 with 8M of Fast RAM?
« Reply #3 on: February 21, 2007, 07:46:46 AM »
@skurk

Thanks! I'd prefer gcc if it only would run on my setup.
 

Offline SamuraiCrow

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 2281
  • Country: us
  • Gender: Male
    • Show only replies by SamuraiCrow
Re: Which C compiler to use on A1200 with 8M of Fast RAM?
« Reply #4 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.