This web mail archive is frozen.
This page is part of a frozen web archive of this mailing list.
You can still navigate around this archive, but know that no new mails
have been added to it since July of 2016.
Click here to be taken to the new web archives of this list; it includes all the mails that are in this frozen archive plus all new mails that have been sent to the list since it was migrated to the new archives.
Andrew Helwer, le Thu 12 Jan 2012 22:52:26 +0100, a écrit :
> C:\hwloc-1.3.1\src>dolib.exe lib.exe X86 .libs/libhwloc.def libhwloc- .libs/libhwloc.lib
> This creates a .lib file, but when I use the VS compiler to compile and link against it, it asks for a dll at runtime.
In mingw terms, .lib is meant for dynamic linking, not static linking.
the .a file is meant for static linking.
> * VS does not know what __inline__ means
And Solaris does not know what __inline means... Ok, I have put
> * VS spouts out a whole bunch of errors relating to the definition of __attribute__ and __deprecated__
Ah, damn, configure replaces our specially-crafted values... I have
> COMPILING HWLOC ON WINDOWS WITH VS
> VS apparently has problems when functions are declared as static inline when using its C compiler. A way around this I've found is to explicitly pass it the /TP flag, which makes it use its C++ compiler. A bunch of errors about the identifier '__attribute__' being a syntax error then pop up, however, and I haven't found a way around those yet.
These should go away with the next nightly snapshot.