!!zullil wrote:Code: Select all
$ i586-mingw32msvc-cc testA.cpp -o main.exe -lstdc++
Yes, that works.
$ i586-mingw32msvc-cc testA.cpp -o main.exe -lstdc++
$ wine main.exe
i'll kick myself in the pants if this works
$ i586-mingw32msvc-g++ testA.cpp -o main.exe -lstdc++
$ wine main.exe
i'll kick myself in the pants if this works
Thanks.
Tried the 64-bit but it failed
$ x86_64-w64-mingw32-g++ testA.cpp -o main.exe -lstdc++
$ wine main.exe
err:module:import_dll Loading library libgcc_s_sjlj-1.dll (which is needed by L"Z:\\home\\jesse\\eclipse\\testA\\src\\main.exe") failed (error c000007b).
err:module:import_dll Library libstdc++-6.dll (which is needed by L"Z:\\home\\jesse\\eclipse\\testA\\src\\main.exe") not found
err:module:LdrInitializeThunk Main exe initialization for L"Z:\\home\\jesse\\eclipse\\testA\\src\\main.exe" failed, status c0000135