So lets start with the compilers. The first is LCC from David Hanson and Christopher Fraser. LCC was originally written for UNIX, it is also available in several versions for WINDOWS (LCCWIN32 and Pelles-C) and now it's available for DOS.
LCC is a retargetable ANSI-C compiler, running in protected mode. It's partly compiled by GCC from DJGPP. This DOS version of LCC does not use GCC's GCC's assembler AS, I changed it to use NASM, the Netwide Assembler.
NASM's syntax is much easier to learn and it's a powerful assembler. The linker is LD from GCC. LCC comes complete with ANSI-C header files and it uses the GCC libraries libc.a and libm.a. This version also has a VESA graphics library libg.a. The whole compiler system comes with full sources and can be compiled with GCC very easily and fast.
I included lots of example files and documentation. LCC is a stable and reliable C-compiler. I also tweaked the code generator of LCC, so that the assembler output is now well formatted.
There is a very good book available "A retargetable C Compiler: Design and Implementation", written by Christopher Fraser and David Hanson (Addison Wesley, 1995). This book includes the main parts of the source code and explains in great detail the inner working of this C compiler.
The next ANSI-C compiler system was also made for UNIX by Fabrice Bellard. It's the tiny C-compiler TCC. It is also available for windows and I used the latest binaries, added a dpmi interface for DOS to TCC and also a VESA graphics library (like the one for LCC). There is also another VESA library, which is for 32 bit colors and it is implemented as a DLL, which runs perfectly under DOS with the help of Japeth's HXDOS extender. This DOS version of TCC also produces native Windows binaries (PEF format), which can be run under DOS with the HXDOS extender.
The library is well documented and the compiler as well as its tools like linker and librarian can be compiled with TCC itself. TCC is one of the fastest compiler available. It can also compile directly into memory, avoiding the production of an .exe file. TCC can also be used in shell scripts from BASH or SH under DOS. TCC uses no external linker, it's all done from inside the compiler.
Like all other packages here, TCC comes with complete sources and documentation.
The HXDOS extender is also included here, but I would recommend, that you visit Japeth's own Website to inform yourself about his marvellous peace of software. Here is the link to his website: Japeth's HXDOS Website
EiC is a complete ANSI-C Interpreter. The DOS version comes packed with my VESA (LFB - linear framebuffer and protected mode) library. It uses one of the best antialiasings available. It also has very extensive conio functions, a powerful GIF viewer, text viewer with C syntax hightlighting and more than 180 examples for graphic and text programming in C.
Everyone who is interested in graphics programming or generally in C programming should have a look at this package, it's a wonderful programming system and absolutely easy and safe to use. EiC can't crash your machine, it's an interpreter for protected mode DOS (max 4 GByte memory) and in rare situations CTRL-C is the solution, which brings you safely back to your DOS shell. EiC gives extensive help for error debugging.
The whole C-Interpreter system is about 4 MBytes in size and it is nicely documented with TeX (EiC ANSI-C library and the graphics library). All sources are included and the whole development systen is free fore everybody under the GNU LGPL licence.
Here you find my actual version of the EiC-Interpreter for DOS and an extra program to accellerate the VESA graphics performance through some not well kown Intel tricks (it's in the Intel hardware manuals). You can download this doc as PDF from this site.
There is is also an iso-image for burning a bootable CD. It contains EiC without sources, all other files are included. The CD boots DOS 7.1 and copies all files to a Ramdisk. You can work very smoothly from that disk, because the Volkov commander is used as DOS shell and you can directly hit Return on a C file and EiC is started with that file. An editor is also included on the CD. In Windows you see the additional contents of the CD. It contains the whole EiC package together with GCC fir DOS. The DOS extender, used on this CD is the very good HXDOS extender from Japeth. It conform to the DPMI specification 1.0.
As a former teacher for mathematics, physic and computer science I can highly recommend EiC as an instructive and easy to use learning tool. This is also true for beginning courses at universities. I often look at places like Stanford University, MIT, AAchen, FH-Berlin, Munic, ETHZ and others and what I see more and more, is the use of commercial programming environments like Visual C++ or others. Those institutes should think about it again and ask themselves, if universities should act as merchandize companies for well known big computer companies. EiC is free, small, fast and save. Look at it!
The next EiC version is for Windows (95 -> XP). It also has a VESA library, but without the linear frame buffer access (forbidden by Microsoft) and with some other hardware restrictions. So it is a library with bank switching. I'm not a great Windows guru, so I don't know how to manage it to make the mouse work under thes restrictions. All other routines are very similar to the DOS version or the Mac version. This distribution was compiled with MINGW, which is a GCC distrubution for Windows that produces very compact exe files. This GCC distribution is also included here for downloading.
For all of you, who are working with MACOS (Classic or 68k), here are two versions of EiC for Apple's MPW development system, which is now freely available on the internet. EiC for MPW is an ordinary MPW tool (PPC or 68k code) and it includes a graphic library, with many Toolbox functions, Nelson's high quality antialiasing and many more useful graphic functions like Bezier curves and conics.
To minimize troubles in compiling the Interpreter (it's already compiled, so this is for the experienced users), I included a special version of MPW-PPC. I don't want to tell you too much about the contents, but look for yourself, it has much more than GCC. Like for instance TeX for MPW, Lout for MPW and Lua for MPW. Ghostscript is also included. To make everything work smoothly, There is an additional archive with additions for MPW-PPC. I compiled Lout and Lua by myself. The TeX system was put together from a Lehmanns TeX-CD, which mirrored the Dante TeX-server contents.
Additional I included here two versions of the former Thetis C-Interpreter from Stanford University. It's no longer supported, but it works quite well on 68k or PPC Macs. This interpreter is not so fast as EiC, but it's also a complete and mostly unknown C-Interpreter for Macs. This was my starting point into this subject - I received it from a University friend overseas. This interpreter was formerly used by the Stanford CS-students to learn C-programming. It was maintained by the well known professor Eric S. Roberts, who wrote the very good book "The Art and Science of C", Addison Weslay (1995). It includes his special addition to the ANSI-C headers for a more easy introduction to the C language. Thetis-C can also produce graphics and uses Apples routines internally. It is possible to make own libraries which then can be loaded.
Here you'll also find a free-standing graphic library for MPW, which is realized as a single header file. Look at the many examples to see if it's useful for you.
For friends of simple tools I included an archive with Herbert Schildt's Little-C Interpreter. Of course, my version is corrected and much more enhanced. Look what it can do, I think quite a lot for such a little peace of code. Like EiC for Mac, it's a standard MPW-tool.
For all friends of TeX, here are some puplic unknown TeX drawing tools, which I created for my own needs over the past years and which I now give away freely. Until now I didn't contact the official Dante TeX distribuition servers fore my special TeX styles, but I will do it, when I got all the documentations and install files ready. The styles come with many examples, so you can see how they work. There is Laplot for drawing math functions with text and formula integration. Then you'll find Ladraw, a complete drawing environment, which can draw polynomial and even rational (conics and more) Bezier curves up to a degree of seven - all implemented in pure TeX macro code. The next one is LaPost for direct integration of Postscipt into TeX documents and the same for PDF, which is called LaPDF. All these drawing styles for TeX use their own environment like the Picture environment of TeX does.
So, what you get is the ability to draw many kinds of curves (Ladraw also knows simple looping constructs, whis is used in many examples. You can plot functions in high quality on any kind of printer and use PostScript's or PDF's native graphics commands for drawing, which can be used directly in your TeX document without ever leaving the TeX editor.
For the Lout package inside my special MPW version there is the original Lout documentation in source form, which can be compiled into Postscript from the MPW shell. Lout is another language for typesetting documents like TeX. It uses a procedural approach for it's macros, which can be understood easily by anyone who ever programmend in Pascal or C. Lout does not need special fonts other than the standard Postscript TypeI fonts. This makes the compiled Lout document very small, compared to TeX. It's output is PostScript.
Lua is a well known scripting languge, which can also be embedded into other programs. It has much in common with C, but also from functional languages. The MPW version works wonderful and I had no problems to compile it on the Mac. The MPW shell is ideal to work with these kind of tools, because you can use scripts and you have the worksheet window for output with redirection possibilities.
For the curious: I also compiled EiC for MacMint on PowerPC. Allthough we are told that MacMint does not understand Graphics, it was no problem to circumvent this restriction. Just don't tell MacMint, that it deals with graphic and it will do graphics! Sounds a little bit crazy, but it works. I compiled the Atari code, but this time used Apples global pointer to the screen, the mouse and the keyboard. It works great and it uses Apples Bitmap font, like the Atari version does. By the way, the drawing is directly into MacMints shell window, which is restored afterwords. Mint can do graphics, but it does not know this. The compiler used for this, was GCC 2.5.8.
Here is also an EiC version for Atari. It works on all Atari-ST's and on MagiCMac. The archive contains everything including the MagicCMac Demo version. You click on MagicMac and go directly into a shell. There you type 'e' and now you are in the demo files directory of EiC. Type 'c colors' without extension and the batch file calls EiC for Atari and run colors.c. To quit from MagiCMac, simply type 'q' end hit return. To quit EiC programs, you have to hit 'esc' and return. The graphic library is roughly the same as the Windows version and also uses Apples bitmap fonts.
This is the complete GCC package (DJGPP 2.01), including a WEB2C TeX system with Latex and PDFTeX. GCC is used to compile the EiC interpreter and the graphics library. WEB2C TeX is used to typeset the documentation. So you now have all tools at your fingertips for a powerfull compiler/interpreter duo.
The next file is Ghostscript 7.05 for DOS. This version is very stable, with high resolution VESA support, and together with the GCC TeX distribution above you have a complete TeX installment for documentation, which allows you to produce DVI, PostScript or PDF output. GS.EXE uses the DOS4GW extender.
For convenience I added some useful additions to the DOS system, which I placed into a BIN directory. Here you'll find - beside many tools - a very easy to use and also a powerful management for all your development tools under DOS. Look at the AUTOEXEC.BAT, CONFIG.SYS and also the central batch file E.BAT (there are some more for Ghostscript and TeX). Many DOS users have many special batch files to switch from one environment to another. Here you find a general solution for them all.
I hope these programming tools and other utilities are helpful and useful for your own work and I appreciate any (positive or negative) user response. The only restriction I make here is, that it should help to make EiC even better.
Thanks for your interest.