[Top][All Lists]

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

Re: [Tinycc-devel] tcc and the dirent.h

From: Roy Tam
Subject: Re: [Tinycc-devel] tcc and the dirent.h
Date: Wed, 16 Nov 2011 12:54:02 +0800


>Hi Everyone,
>I've seen my question posted a few times already, but not a sufficient answer
>to it, so I hope, someone here can help me.
> I am using the tcc version 0.9.25.
>When I use the opendir function I get the message:
>tcc: undefined symbol 'opendir'
>the same is the case for the functions readdir and closedir.
>The header of my program looks like this:
>#include <stdio.h>
>#include <stdlib.h>
>#include <io.h>
>#include <dirent.h>
>Do I need to include another library to make these functions work?

I think you're using the win32 version.
You may try my tinycc mob branch win32 build:

rebuild your sources and include dirent.o when linking.

P.S.: I DO think tinycc should have its own libmingwex.a


Roy Tam

reply via email to

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