diff options
Diffstat (limited to 'DOC/readme.txt')
| -rw-r--r-- | DOC/readme.txt | 25 |
1 files changed, 21 insertions, 4 deletions
diff --git a/DOC/readme.txt b/DOC/readme.txt index ad1d842..7fbbdc8 100644 --- a/DOC/readme.txt +++ b/DOC/readme.txt | |||
| @@ -1,9 +1,9 @@ | |||
| 1 | 7-Zip 24.09 Sources | 1 | 7-Zip 25.00 Sources |
| 2 | ------------------- | 2 | ------------------- |
| 3 | 3 | ||
| 4 | 7-Zip is a file archiver for Windows. | 4 | 7-Zip is a file archiver for Windows. |
| 5 | 5 | ||
| 6 | 7-Zip Copyright (C) 1999-2024 Igor Pavlov. | 6 | 7-Zip Copyright (C) 1999-2025 Igor Pavlov. |
| 7 | 7 | ||
| 8 | 8 | ||
| 9 | License Info | 9 | License Info |
| @@ -73,8 +73,8 @@ All final 7-Zip binaries are compiled via makefiles, that provide best | |||
| 73 | optimization options. | 73 | optimization options. |
| 74 | 74 | ||
| 75 | 75 | ||
| 76 | How to compile with makefile | 76 | How to compile with makefile in Windows |
| 77 | ---------------------------- | 77 | --------------------------------------- |
| 78 | 78 | ||
| 79 | Some macronames can be defined for compiling with makefile: | 79 | Some macronames can be defined for compiling with makefile: |
| 80 | 80 | ||
| @@ -88,6 +88,23 @@ MY_DYNAMIC_LINK | |||
| 88 | for dynamic linking to the run-time library (msvcrt.dll). | 88 | for dynamic linking to the run-time library (msvcrt.dll). |
| 89 | The default makefile option is static linking to the run-time library. | 89 | The default makefile option is static linking to the run-time library. |
| 90 | 90 | ||
| 91 | To compile all 7-Zip files for x64 with Visual Studio 2022, | ||
| 92 | use the following command sequence: | ||
| 93 | |||
| 94 | cd SRC\CPP\7zip | ||
| 95 | %comspec% /k "C:\Program Files\VS2022\VC\Auxiliary\Build\vcvars64.bat" | ||
| 96 | nmake | ||
| 97 | |||
| 98 | You can use another "vcvars*.bat" files from "VS2022\VC\Auxiliary\Build" directory | ||
| 99 | to compile for other platforms: | ||
| 100 | vcvars64.bat | ||
| 101 | vcvarsamd64_arm64.bat | ||
| 102 | vcvarsamd64_x86.bat | ||
| 103 | |||
| 104 | Also you can compile single binary from directory with related project. | ||
| 105 | For example, to compile 7za.exe, use the following command sequence: | ||
| 106 | cd SRC\CPP\7zip\Bundles\Alone\ | ||
| 107 | nmake | ||
| 91 | 108 | ||
| 92 | 109 | ||
| 93 | Compiling 7-Zip for Unix/Linux | 110 | Compiling 7-Zip for Unix/Linux |
