Assembly Help Using g ++ on Windows

There is a small C ++ project (it has win32 code) that I need to create. He already has a Makefile. I was told to use MinGW. I have never used it before. I downloaded and installed the latest MinGW installer.

Then I opened the MinGW shell and did make. An exe file has been created. But when I try to run it, I get libgcc_s_dw2-1.dllmissing! Why am I getting this error? Shouldn't exe be self-sufficient and work anywhere?

UPDATE
Here is more information from the Makefile:

CC = g++ 
CCOPTIONS=-DWINDOWS -DFORCEINLINE -DMINGW -DSRTP_SUPPORT -D__EXPORT= -D_WIN32_WINNT=0x0501 -DNOMVS    
setup.exe: setup.o common.o 
    $(CC) -ggdb -g -O0 -o $@ setup.o common.o  -mno-cygwin -mwindows -lwsock32 -lws2_32 -lwinmm -lgdi32 -lcomctl32 -lmapi32 -lVfw32
+3
source share
2 answers

, exe , , . , , makefile. DLL, , MinGW. , , cygwin, .

: , , "" MinGW. Twilight Dragon http://tdm-gcc.tdragon.net, . "" - cr * p - , - .

+2

, , MinGW, -static .

, Win32, -mwindows ++, .

0

All Articles