no need to fix -OPT:NOWIN98 as this part is skipped with NEW_COMPILER=1
- Visual Studio Community 2019 https://visualstudio.microsoft.com/vs/
- Desktop development with C++
- Get 7-zip source https://sourceforge.net/projects/sevenzip/files/7-Zip/
- add -DWIN_LONG_PATH to CFLAGS in CPP\7zip\Bundles\SFXWin\makefile for path_limit > 260 chars
- In 7-zip source folder go to CPP\7zip
- open cmd
x64 build
"C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat"
nmake CPU=AMD64 NEW_COMPILER=1 MY_STATIC_LINK=1
x32 build
"C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars32.bat"
nmake NEW_COMPILER=1 MY_STATIC_LINK=1
Be First to Comment