[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Tinycc-devel] include file not found

From: jrb
Subject: Re: [Tinycc-devel] include file not found
Date: Thu, 29 Jun 2006 18:03:59 -0400
User-agent: Thunderbird (Windows/20060516)

when i try this i get

  tcc-0.9.23-550> tcc/tcc -Iinclude examples/fib.c
  tcc: undefined symbol 'printf'
  tcc: undefined symbol 'atoi'
  tcc: undefined symbol '_start'

my problem is that i have cygwin installed and would rather not install mingw so i'd love it if i could configure tcc to use the cygwin libraries. any ideas?

ice wrote:
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 <address@hidden> 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


Tinycc-devel mailing list

reply via email to

[Prev in Thread] Current Thread [Next in Thread]