Free C Compiler


Does this sound too good to be true? A free C Compiler? No strings attached? Well, yes and no. First, this C Compiler is free to anyone who would like it. You should know a few things about it, however. First, I will not be responsible for any problems, damages (not sure how this could happen, though), or anything else negative that may result from this compiler. You use this compiler at your own risk. Second, this compiler is not nearly as robust as the one's that you find by Microsoft and Borland. In fact, this compiler does not even support all the major features of C. The biggest one's that I can think of are listed below:

This C compiler was written as part of a Compiler Theory class taught by Dr. Ken Brakke at Susquehanna University. The intent was to learn all the various aspects of what goes into the design and implementation of an actual compiler (be it any language), and the various problems associated with this. In short, this C compiler is only recommended as a teaching tool, or for the beginning programmer who would like to learn a little bit about basic C programming. This compiler is not meant for serious development by any means. If anything, this compiler is a beta, as there are still bugs in it. If you are still interested after all this, read below:

The compiler is called attoc, and is a DOS Console application. This means that it runs in a DOS window, but you need either Windows 95 or Windows NT 3.51 or later to run it. The usage is simple, type the filename (attoc), followed by the name of the C program to compile:

AttoC First.c

If everything is successful, you will see a message "Assembler file First.asm generated." From here, you have the assembly language equivalent of your C program, whose name is the name of the program you fed into AttoC, except with the extension .asm. From here, you can either use MASM (Microsoft Assembler), or TASM (Turbo Assembler) to link your program. You may be able to find some free programs from Borland that enable you to do this.

Okay, with all that out of the way, the last requirement that I have is that you e-mail me at millard_adam@hotmail.com when you download this program, just so I know exactly who is using it. You don't have to tell me much, just that you downloaded it. AttoC is in zip format, so you will need either Winzip or PKZip 2.04g to extract the file. To download AttoC, click here. Enjoy!

This page hosted by Geocities. Get your own free home page.