> hello, I compiled FLTK 1.3 on windows XP with this configure > options (as suggested to me on STR #2622): > ./configure --enable-localjpeg --enable-localpng > --enable-localzlib --host=i686-w64-mingw32 > --build=i686-w64-mingw32 CC=i686-w64-mingw32-gcc > CXX=i686-w64-mingw32-g++ CFLAGS=-DMINGW_WINGDI_FIXED > CXXFLAGS=-DMINGW_WINGDI_FIXED LDFLAGS="-static-libgcc > -static-libstdc++"
You don't say what tool you are using - I'm guessing mingw on the basis of the link line. Where did you get that configure line from? It looks unecessarily complicated for a mingw build hosted on a Windows host. It might make sense for a mingw build cross-compiling from a linux host though... > everything eventually compiled and all the test programs run > as they should. > now I have a vary basic question: all the files in the lib > directory are *.a files (e.g. libfltk.a), unlike regular > library files on windows which are *.lib (for static) or > *.dll (for dynamic). the FLTK libs on cygwin (which depend > on X11) are dlls. > so is anything wrong here? No, that looks about right for a gcc/mingw generated build. The MS tools generate .lib and .dll files, the gcc tools generate .a and .so files. As a general rule, for "plain" C-code, that does not matter and they can be more or less interchanged. However, C++ compilers work in such a way that the ABI and name-mangling is not compatible, so if you geberate a lib file (of any sort) with a given compiler it probably will not be compatible with a different compiler... So, I'm not sure what your question is but: - For gcc/mingw built files, the outputs you have are normal. - These files will work fine on pretty much any recent Windows host, *if* you are using the mingw tools to build your app. - These files will not be compatible with the MS tools, so you can't use them in Visual Studio (for example) SELEX Galileo Ltd Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 3EL A company registered in England & Wales. Company no. 02426132 ******************************************************************** This email and any attachments are confidential to the intended recipient and may also be privileged. If you are not the intended recipient please delete it from your system and notify the sender. You should not copy it or use it for any purpose nor disclose or distribute its contents to any other person. ******************************************************************** _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

