lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On 29/04/2012 20:22, Peng Zhicheng wrote:
then I build this test code using the command "g++ -shared -o mylib.dll
-I lua-5.1.5/src mylib.cpp"
all went ok.

I repeated the test builds once more on all 5 of my MinGW installations and (contrary to what I wrote previously) found one of them that builds the test app OK (no error with Application Verifier). It was MinGW32/GCC 4.6.2.

Don't know if it's relevant to the problem: the "good" installation is also the only one that (given the above command line) builds DLL with the external dependency libstdc++-6.dll (which can be eliminated by specifying -static-libstdc++). Both kinds of build produce DLLs that pass the Application Verifier tests.

Thanks to all who replied and sorry for the noise.

--
Shmuel