Compilation 7-zip with MSYS2



  • Show me how to compil. http://www.7-zip.org/download.html MSYS2



  • Detailed MSVC compilation instruction http://www.ski-epic.com/2012_compiling_7zip_on_windows_with_visual_studio_10/index.html ♪

    Add the compilation option through Cygwin:

    1. Download. https://www.cygwin.com/ Choose a version of x32. Let's get to the directory, for example. C:\projects\tools\cygwin♪ The available packages will require: make, gcc/g++, wxwidgets♪ We agree with the set of proposed packages.
    2. We're downloading the right version of 7zip under POSIX-systems: http://sourceforge.net/projects/p7zip/files/p7zip/ ♪ We're, like, in the directory. C:\projects\other\7zip\source
    3. Let's start Cygwin.bat, go to the directory where the 7zip library is sold: cd /cygdrive/c/projects/other/7zip/source
    4. There's a lot of makefile for different platforms in the directory with references. makefile.cygwin and copy the contents in the file. makefile.machine
    5. Implemented make -j4 for the purpose compilation all
    6. Read the file. install.sh to indicate its way of installing compiled files. We need a parameter. DEST_HOME and change it, for example: /cygdrive/c/projects/other/7zip/build
    7. Implemented ./install.sh
    8. Now in the catalogue. /bin 7za.exe. The following libraries, cyggcc_s-1.dll, cygstdc+-6.dll, cygwin1.dll, catalogue cygwin_install_dir/bin
    9. 7zip is ready for use



Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2