Why, GCC of course! The foremost C compiler in the world and the most popular. I'm sure there's a port to your platform. It's the native compiler for Linux and gets installed on most other UNIX systems and is used by a lot of developers on the dark side as well. If that won't do let me know, I have a list of other free C compilers someplace.
Gil:
> > Does anybody know where I can find a FREE ANSI-C Compiler?
Curt:
> Why, GCC of course!
Don't forget to use the -pedantic -ansi options if you require your program to be strictly ANSI - they switch off the extensions and give you warnings if you use non-ansi features.
Robert J. Dusza, Jr.
Project & Technical Support Manager
(V) 1-860-647-3219
(F) 1-860-647-3150
E-mail - [email protected]
Manchester Water & Sewer Dept.
125 Spring St. P.O. Box 191
Manchester, CT 06045-0191
Hello Suhal,
You forgot to specify your target processor the compiler should be used for, and even the host operating system you want to work on.
In any case the GNU C-compiler is a good choice, supporting a lot of hosts and targets. Find more at: "http://gcc.gnu.org":http://gcc.gnu.org
It is available on many hardware platforms and even has some cross-compilers.
Best Regards::
Lynn August Linse, alist (at) linse (dot) org
IA Firmware Specialist, Digi Int'l (www.digi.com)
26741 Portola Pkwy, Suite 1E #242
Foothill Ranch CA 92610-1743 USA
Ph/Fx: 949-916-1524 (voice message usually)
Hello Brian,
I too like people to use search engines or mailing list archives before asking. But in this case, evaluating 49,000 entries is impossible, and a 'qualified' question is appropriate.
Alas, there are no more than 100 good links on "free ANSI C compilers" between the links. The word "free" is frequently used to get the traffic. So, in most of cases a consulting with specialists is more effective way than exploring
an info-garbage of blind-links. BTW, it is the reason why e-forums exist.
Linux will have both of those standard at no charge. My bet would be that you need a commercial library on MS platforms. Take a look at the linux router project.
i'm sorry to say turbo c does NOT compile in ANSI C. so if what you need is an ANSI C compiler like i do, DO NOT USE TURBO C. i have used the lcc as another said, but i had problem compiling my programs in some other compilers like linux's gcc...i'll keep looking....
The only ansi c compiler that I know of that should be free is GNU compiler also known as gcc, it comes with the Linux software and can also be found at many Unix sites. My college uses it on the Unix system. It is a full c/c++ compiler that can be told to do ansi only on the command line. I haven't tried to use it in Windows yet, therefore don't know if it will work in that environment. Good Luck!!