Welcome, Guest. Please login or register.

Author Topic: Still C compiler selection hints...  (Read 2876 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline ognixTopic starter

  • Sr. Member
  • ****
  • Join Date: Oct 2004
  • Posts: 256
    • Show all replies
Still C compiler selection hints...
« on: February 26, 2010, 11:18:06 AM »
Hello!
I read some past threads on choosing the right compiler for the right job, but I have a few more questions/unclear things on this argument.

I understood there some free C compilers:
- gcc (hard to setup and not so user friendly)
- vbcc (very Amiga like, easy to setup and light)
- AmiDev (cross-platform compiler)
- DICE C (light, Amiga-based, easy, once upon a time commercial product)

...and the old commercial product
- SAS/C
...and the more "recent"
- Storm C

My main aim is to do some basic stuff (at the beginning) focussing mostly on the classic platform (OS3.X), but with the idea of porting the most valuable project also on the other Amiga flavours.

In the past times I bought DICE C, and I started a few small project and experiments, and I found it easy and well done.
Later on I found a good offer for the famous SAS/C package and I bought it, but I never realized to use it properly.

But now I don't want to start to code eg. with SAS/C if it contains too many non-stardard compiler dependencies (as I read in a forum), since this will lead to difficulties in porting the code on other platforms/flavours.

But I'd like to know if the big manuals are still valuable for programming the Amiga today, or if the info is outdated, and the docs can be found on the Internet are more the sufficient for a proper and clean coding.

Ahhh... I don't need C++ (at least on my Amiga projects), and is it true that I can make a shared library just with SAS/C and Storm C? This seems strange to me...

Thanks for any info!
« Last Edit: February 26, 2010, 11:33:31 AM by ognix »
 

Offline ognixTopic starter

  • Sr. Member
  • ****
  • Join Date: Oct 2004
  • Posts: 256
    • Show all replies
Re: Still C compiler selection hints...
« Reply #1 on: March 01, 2010, 02:22:18 PM »
Hello!  :)
Thanks a lot to all those answered, but especially to Joloo for being so precise and detailed.
Now I've a clearer idea on what to do.

...and yes, the SAS/C manuals cover Amiga OS up to version 2.0 not 3.0 (even if it seems there are some references to OS 3 - my version is one of the lastest released to the market), and I read about the special SAC/C functions, well indicated in the second manual in the field "Portability" (good quality SAS stuff).
Thanks once more!