napi wrote, On 22/01/07 04:12:
H. wrote:
>I am a student taking a machine structures class in a university, which
includes learning C. I am looking for a good freeware or shareware
compiler which can be used in a "C only" mode. C++ isn't allowed in
assignments, and I would like the compiler to check for C syntax
instead of C++ syntax. Besides that, ease of use for a beginner and
basic debugging capabilities are important.
Suggestions are welcome.
Hi:
You can try AMPC (Axiomatic Multi-Platform C) compiler which supports
ANSI C (1989).
No it does not. According to your web site "AMPC covers a very large
subset of ANSI C (1989)." A large subset is *not* the language defined
by the standard, the language defined by the language is *all* of the
language defined by the standard. So if the OP finds that for his course
he is required to use feature X defined by the standard that you do not
currently support do you guarantee to add it to your compiler fast
enough not to cause him problems?
It generates Java Bytecode which makes the executables
platform-independent. Check it out here: http://www.axiomsol.com
It is an interesting project, but I would not recommend it for people on
a course unless the course specifies it since you never know when you
might hit things it does not implement. At least with other compilers
you know that it is only bugs in the C89 implementation rather than
having not fully implemented C.
--
Flash Gordon