This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Christopher Faylor wrote:
BTW, I tot I might share how I got pass my problem. I've checked and found the definition of opendir, readdir and closedir to exist in the lib libmingwex.a which was never included by the configure process. Hence the fix is to edit the gcc's specs file to include this lib whenever the -mno-cygwin switch is given. Is this considered a bug?That would be a question for the mingw mailing list, I think. I don't know if they intended for libmingwex to be included by default or not. Since it is new and gcc is old, it obviously isn't going to be included.
To use these functions, you will need to explicitly add -lmingwex to your command line. In future releases of GCC, libmingwex.a will become a system lib added automatically by specs.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |