验证中...
Languages: C/C++
Categories: 软件配置
Latest update 2019-11-09 21:37
DOSBOX完全静态编译
Raw Copy
0.需要下载SDL依赖库
需要automake与autoconf、m4环境
1.将所有25个MAKEFILE.* 的
清空 SDL_LIBS=
2.修改所有25处
CFLAGS = -static-libgcc -static-libstdc++
./configure CFLAGS="-static-libgcc -static-libstdc++" CXXFLAGS="-static-libgcc -static-libstdc++"
LIBS = -L/mingw32/lib -Wl,-Bstatic -lmingw32 -lSDLmain -lSDL -lstdc++ -lpthread -lpng -lz -lopengl32 -lwinmm -ldxguid -mwindows

Comment list( 0 )

Sign in for post a comment

Help Search