De: "Thomas Mayer" thomas@residuum.org À: "Patrice Colet" colet.patrice@free.fr, pd-dev@iem.at Envoyé: Vendredi 10 Août 2012 21:01:52 Objet: Re: [PD-dev] Cross Compiling External for Windows - Problem
Hi,
On 10.08.2012 11:20, Patrice Colet wrote:
Hello, I'm afraid the work to be made isn't in the Makefile but in source files,
did you give a try with this:
http://readlist.com/lists/lists.sourceforge.net/mingw-users/1/9807.html
I don't think, this is the problem: There is no MSVC involved in the entire toolchain, but only gcc on Linux, partly using MXE for cross compilation on Linux.
the mail reply says how MSVC is involved,
"int _get_output_format( void ); is a standard MSVC function"
http://msdn.microsoft.com/en-us/library/571yb472(v=vs.80).aspx
the problem is certainly because stdlib is different on windows, for exemple vasprintf() is missing, you have to provide it into the sources, like we have done on gridflow, or provide another function.
gcc seems to try mscv's _get_output_format() for resolving it without success...
Another thing, I've used s_list in an external that compiles fine with g++ linking and declspec embedding...
can you post all the compile process, and what is your linker?