Actually, the binary package *does* provide include files. You just need to reference them:
C:\Program Files\tcc-0.9.23>tcc\tcc -Iinclude .\examples\fib.c (note' that's a capital 'i' in front of "include", in case your email client is rendering it weirdly) On 6/29/06, Daniel Glöckner <[EMAIL PROTECTED]> wrote:
On Fri, Jun 30, 2006 at 01:40:11AM +0800, rty wrote: > .\examples\fib.c:1: include file 'stdio.h' not found > > my question: how to include stdio.h ? > I use windows98 TCC does not provide stdio.h, as it was originally targetted at unix-like systems where C header files are usually provided by the vendor. You could try the free Borland 5.5 compiler (see http://personal.sirma.bg/Jogy/bcc55.html ) or the open source MinGW port of GCC (http://www.mingw.org ). Use Cygwin (http://www.cygwin.com ) if the C libraries that MinGW uses are not close enough to ISO/ANSI/POSIX standards for your purpose. Other free Windows compilers are: - Open Watcom http;//www.openwatcom.org - LCC-Win32 http://www.cs.virginia.edu/~lcc-win32/ - Microsoft Visual C++, somewhere on Microsoft's site Daniel _______________________________________________ Tinycc-devel mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/tinycc-devel
-- 43rd Law Of Computing: Anything that can go wro <br> <br> sig: segmentation fault: core dumped _______________________________________________ Tinycc-devel mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/tinycc-devel
