Welcome, Guest. Please login or register.

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

Description:

0 Members and 1 Guest are viewing this topic.

Offline itix

  • Hero Member
  • *****
  • Join Date: Oct 2002
  • Posts: 2380
    • Show all replies
Re: Still C compiler selection hints...
« on: February 28, 2010, 11:17:50 AM »
Quote from: Joloo;545487
Define 'best' compiler!?!

Is it that one, which allows to compile source codes in no time, or is it that one, which creates executables as optimised as code written in assembler, or, which creates executables of similar size like code written in assembler, or is the best C-compiler that one, which runs even fine with a stack size of only 4096 bytes while compiling, or is that one, which conforms to strict ANSI C & C++, or that one, which allows all the features, that makes gcc so incompatible, or is it that one, which does not need lots of RAM while compiling, or is it that one which supports different targets (operating systems and CPUs), or is it that one, which is well integrated into the host OS, or is it that one, which has got everything ever needed in its C-runtime library, or is it that one, which can cross-compile?


SAS/C lacks C++ and it is available only for Amiga (so no cross-compiling possible) but pretty much everything else is in SAS/C.

Quote

Non standard C-lib functions of the SAS/C C-runtime library should be avoided by all means, otherwise you put yourself into the trouble to re-design them for other Amiga flavours or compilers, once you want to port your source codes.


Libnix covers many SAS/C C lib extensions for 68k and MorphOS...
My Amigas: A500, Mac Mini and PowerBook