bonjour, Sous Windows, les biblio comme libc.a n'incluent pas de fonctions de parcours des repertoires (pourtant referencees dans dirent.h qui lui est fourni), aussi j'ai essaye de lier avec libmingwex.a qui est empruntee a mingw (http://prdownloads.sourceforge.net/mingw/mingw-runtime-3.10.tar.gz?download). (je nai pris que cette biblio specifique, et cela echoue avec le dirent.h fourni avec tcc comme celui fourni avec mingw):
Au vu de ce qui suit, comment puis-je trouver la source du probleme ? Sinon, ce serait sympa d'inclure ces fonctions *dir dans la distrib du genial tcc, car elles sont vraiment basiques, peu encombrantes et assurent une certaine portabilite unix<->windows ! (je reve d'y voir fork, setsid, pthread_* mais ca c'est autre chose) # tcc -Wall -IC:/tcc/include -LC:/tcc/lib -lmingwex rmed.c tcc: undefined symbol 'opendir' tcc: undefined symbol 'readdir' tcc: undefined symbol 'closedir' C:/tcc/lib# nm -A *.a|grep opendir libc.a:d000057.o:00000000 T ___opendir_with_d_ino libc.a:d000057.o:00000000 I __imp____opendir_with_d_ino libc.a:d001158.o:00000000 I __imp__opendir libc.a:d001158.o:00000000 T _opendir libmingwex.a:dirent.o:00000000 T _opendir libmingwex.a:wdirent.o:00000000 T __wopendir _______________________________________________ Tinycc-devel mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/tinycc-devel
