mirror of
https://git.tukaani.org/xz.git
synced 2024-04-04 12:36:23 +02:00
Updated INSTALL.
This commit is contained in:
parent
8884e16864
commit
2901a8e7e8
1 changed files with 26 additions and 26 deletions
52
INSTALL
52
INSTALL
|
@ -6,7 +6,7 @@ XZ Utils Installation
|
||||||
1. Supported platforms
|
1. Supported platforms
|
||||||
1.1. Compilers
|
1.1. Compilers
|
||||||
1.2. Platform-specific notes
|
1.2. Platform-specific notes
|
||||||
1.2.1. Darwin (Mac OS X)
|
1.2.1. IRIX
|
||||||
1.2.2. Tru64
|
1.2.2. Tru64
|
||||||
1.2.3. Windows
|
1.2.3. Windows
|
||||||
1.2.4. DOS
|
1.2.4. DOS
|
||||||
|
@ -59,14 +59,11 @@ XZ Utils Installation
|
||||||
|
|
||||||
1.2. Platform-specific notes
|
1.2. Platform-specific notes
|
||||||
|
|
||||||
1.2.1. Darwin (Mac OS X)
|
1.2.1. IRIX
|
||||||
|
|
||||||
You may need --disable-assembler if building universal binaries on
|
MIPSpro 7.4.4m has been reported to produce broken code if using
|
||||||
Darwin. This is because different files are built when assembler is
|
the -O2 optimization flag ("make check" fails). Using -O1 should
|
||||||
enabled, and there's no way to make it work with universal build.
|
work.
|
||||||
If you want to keep the assembler code, consider building one
|
|
||||||
architecture at a time, and then combining the results to create
|
|
||||||
universal binaries (see lipo(1)).
|
|
||||||
|
|
||||||
|
|
||||||
1.2.2. Tru64
|
1.2.2. Tru64
|
||||||
|
@ -77,40 +74,43 @@ XZ Utils Installation
|
||||||
C99. You can safely override the test for C99 compiler by passing
|
C99. You can safely override the test for C99 compiler by passing
|
||||||
ac_cv_prog_cc_c99= as the argument to the configure script.
|
ac_cv_prog_cc_c99= as the argument to the configure script.
|
||||||
|
|
||||||
|
There's no code to detect the amount of RAM on Tru64. It can be
|
||||||
|
added, but I currently don't know anyone who can test on Tru64.
|
||||||
|
For now, you may want to pass --enable-assume-ram=SIZE to the
|
||||||
|
configure script. See the section 2 in this file for details.
|
||||||
|
|
||||||
|
|
||||||
1.2.3. Windows
|
1.2.3. Windows
|
||||||
|
|
||||||
Building XZ Utils on Windows is supported under MinGW and Cygwin.
|
Building XZ Utils on Windows is supported under MinGW + MSYS and
|
||||||
If the Autotools based build gives you trouble with MinGW, you may
|
Cygwin. There is windows/build.sh to ease packaging XZ Utils with
|
||||||
want try the alternative method found from the "windows" directory.
|
MinGW + MSYS into a redistributable .zip or .7z file. See
|
||||||
|
windows/INSTALL-Windows.txt for more information.
|
||||||
|
|
||||||
MSVC doesn't support C99, thus it is not possible to use MSVC to
|
It might be possible to build liblzma with a non-GNU toolchain too,
|
||||||
compile XZ Utils. However, it is possible to use liblzma.dll from
|
but that will probably require writing a separate makefile. Building
|
||||||
MSVC once liblzma.dll has been built with MinGW. The required
|
the command line tools with non-GNU toolchains will be harder than
|
||||||
import library for MSVC can be created from liblzma.def using the
|
building only liblzma.
|
||||||
"lib" command shipped in MSVC:
|
|
||||||
|
|
||||||
lib /def:liblzma.def /out:liblzma.lib /machine:ix86
|
Even if liblzma is built with MinGW, the resulting DLL or static
|
||||||
|
library can be used by other compilers and linkers, including MSVC.
|
||||||
On x86-64, the /machine argument has to naturally be changed:
|
Thus, it shouldn't be a problem to use MinGW to build liblzma even
|
||||||
|
if you cannot use MinGW to build the rest of your project. See
|
||||||
lib /def:liblzma.def /out:liblzma.lib /machine:x64
|
windows/README-Windows.txt for details.
|
||||||
|
|
||||||
|
|
||||||
1.2.4. DOS
|
1.2.4. DOS
|
||||||
|
|
||||||
There is an experimental Makefile in the "dos" directory to build
|
There is an experimental Makefile in the "dos" directory to build
|
||||||
XZ Utils on DOS using DJGPP. Support for long file names (LFN) is
|
XZ Utils on DOS using DJGPP. Support for long file names (LFN) is
|
||||||
needed.
|
needed. See dos/README for more information.
|
||||||
|
|
||||||
GNU Autotools based build hasn't been tried on DOS.
|
GNU Autotools based build hasn't been tried on DOS. If you try, I
|
||||||
|
would like to hear if it worked.
|
||||||
|
|
||||||
|
|
||||||
1.2.5. OS/2
|
1.2.5. OS/2
|
||||||
|
|
||||||
You will need to pass --disable-assembler to configure when building
|
|
||||||
on OS/2.
|
|
||||||
|
|
||||||
To omit large number of harmless warnings about visibility support,
|
To omit large number of harmless warnings about visibility support,
|
||||||
pass gl_cv_cc_visibility=no as an argument to the configure script.
|
pass gl_cv_cc_visibility=no as an argument to the configure script.
|
||||||
This isn't mandatory since it should have no effect on the resulting
|
This isn't mandatory since it should have no effect on the resulting
|
||||||
|
|
Loading…
Reference in a new issue