Compiler mingw32 (Linux platform, target - Windows), linking, problem
The problem is that when running on Windows, printf is not released (windows.h is included in the project normally), gdb does not display errors, the paths are correct (checked). Tell me what's wrong?
Make-file :
MainCpp=main GppCompilerWin32="///usr/bin/i586-pc-mingw32-g++" RemoveDebugInfoGppCompilerWin32="///usr/bin/i586-pc-mingw32-strip" LibWin=-I"///usr/i586-pc-mingw32/sys-root/mingw/include" -L"///usr/i586-pc-mingw32/sys-root/mingw/lib" -lmingw32 -luser32 -lgdi32 -lwinmm GppCompilerWin32Flags=-mwindows win32: $(GppCompilerWin32) $(GppCompilerWin32Flags) -o $(MainCpp)win32.exe $(MainCpp).cpp $(LibWin) $(RemoveDebugInfoGppCompilerWin32) $(MainCpp)win32.exe