On Tue, 14 Oct 2008, carlo\.bramix wrote:
> Hello, > I ported IMLIB2 to Mingw+msys and I also included some fixes for Cygwin. > List of Changes: > 1) Added test for mmap support. This test is required because TGA needs it > (but why???). By conseguence, the TGA support becomes configurable. > > 2) Added test for sigjmp_buf support. If it is not supported, it will fall to > usual jmp_buf support (libjpeg for win32/win64 is compiled in that manner). > > 3) Added the ability to configure the flags to libtool with LT_LDFLAGS > variable. For generating a DLL with "--enable-shared" option it is required > to add "-no-undefined" to the link stage. > > 4) Added symbol IMLIB2_IS_COMPILING: if it's declared, it means that we are > compiling the sources of IMLIB2 (used into Imlib2.h). > > 5) ImLib2.H has also been fixed because dllimport/dllexport stuff was wrong. > > 6) Added dlfcn-win32.c and dlfcn-win32.h for supporting shared modules > support. Unfortunately the usual dlfcn package does not work... libtool > complains with a message like "libtool has no real life with library -ldl". > > 7) Added test if mkstemp() exists; if it does not, now there is the chance to > describe a replacement into common.h > > 8) Added test if pwd.h exists and file.h has been fixed with HAVE_PWD_H. > > 9) If S_IRGRP or S_IROTH do not exists, they will fall to S_IRUSR. > > 10) Some OS2 fixes are good for WIN32 too, so I added support for it too into > file.c and loader_gif.c > > 11) If ELOOP do not exist, the compilation is fixes by an #ifdef...#endif. > > 12) Since support for the dlfcn.h was already tested, I added the checks on > HAVE_DLFCN_H into image.h and script.h. In the future it will be possible to > add support for other dynamic loaders in the same manner I did for Win32. > > I hope you will find it useful. I have already implemented some of the functions you need in a lib called 'Evil' (mmap, dlfcn, pwd.h, mkstemp,...). I use it for the EFL Windows (XP or Ce) port. Maybe you could look at my code, improve it if you think it's needed, and make imlib2 Windows port depending on Evil Otherwise, i would say that you need to add AC_LIBTOOL_WIN32_DLL in configure.ac too so that libtool is aware that you have a Windows port. regards Vincent ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel