From: Vincent T. <vt...@un...> - 2008-09-15 07:31:46
|
On Mon, 15 Sep 2008, Brian Dessent wrote: > Vincent Torri wrote: > >> I'm using _IID_IPersistFile (for creation / reading of .lnk files). >> With mingw on Windows, no problem, it's in libuuid.a. But with >> mingw32msvc, it is not in libuuid.a, and I even do not find it in any >> other static lib. > > It looks like it's there to me: > $ nm -AP usr/i586-mingw32msvc/lib/libuuid.a | grep _IID_IPersistFile > usr/i586-mingw32msvc/lib/libuuid.a[uuid.o]: _IID_IPersistFile R 000006c0 oh, I use -C for nm (i usually do that) and nothing was shown. I also used /usr/bin/i586-mingw32msvc-nm instead of my linux nm. With -AP, it is indeed shown. > Are you sure there's not some other difference between the two > environments, such as the ordering of -lfoo arguments on the link > command line? i played a bit with the order and now the undefined has gone. It remains a: "*** Warning: linker path does not have real file for library -luuid. etc..." i passed -no-undefined to the linker but it seems that libtool is still not happy :/ Hence no dll is built. >> My first question: is it the correct mailing list for questions about >> cross-compilation with mingw32msvc ? > > No, you should report problems with Debian's packages to the Debian bug > tracker: <http://bugs.debian.org/src:mingw32-runtime>. This list is > hesitant to support other projects's packages, especially when MinGW > provides its own cross-builder script. ok for the ML. talking about cross-compilation provided with mingw, the doc about setting it is too complicated. I have looked at http://mingw.org/node/31 you have indeed, after the download of the different files 3 paragraphs about gcc 4.* and updated scripts (yes, several updates...). The user (me, for example...) is asking himself: "what should I do ???" if mingw provides a way to cross-compile mingw progs on linux, only one "official" way should be given (like gcc ports as a guy ported different versions of gcc 4.3 for mingw, but no official 4.3 port (well, there is an alpha of 4.3.0) is supported by mingw right now. also, in that page, there are some missing links. I have: Get [this shell-Script] Get [this patch to math.h] without links thanks Vincent Torri |