aboutsummaryrefslogtreecommitdiff
path: root/windows/build.bash (follow)
AgeCommit message (Collapse)AuthorFilesLines
2024-02-21Windows: build.bash: Include COPYING.0BSD in the package.Lasse Collin1-1/+1
2024-02-21Windows: build.bash: include liblzma-crt-mixing.txt in the package.Lasse Collin1-2/+4
2024-02-20Windows: Update windows/build.bash.Lasse Collin1-79/+112
Support for the old MinGW was dropped. Only MinGW-w64 with GCC is supported now. The script now supports also cross-compilation from GNU/Linux (tests are not run). MSYS2 and also the old MSYS 1.0.11 work for building on Windows. The i686 and x86_64 toolchains must be in PATH to build both 32-bit and 64-bit versions. Parallel builds are done if "nproc" from GNU coreutils is available. MinGW-w64 runtime copyright information file was renamed from COPYING-Windows.txt to COPYING.MinGW-w64-runtime.txt which is the filename used by MinGW-w64 itself. Its existence is now mandatory, it's checked at the beginning of the script. The file TODO is no longer copied to the package.
2024-02-14Add SPDX license identifier into 0BSD source code files.Lasse Collin1-1/+2
2024-02-14Change most public domain parts to 0BSD.Lasse Collin1-3/+0
Translations and doc/xz-file-format.txt and doc/lzma-file-format.txt were not touched. COPYING.0BSD was added.
2023-09-24Build: Change quoting style from `...' to '...'.Jia Tan1-1/+1
2023-09-24Windows: Update the version requirement comments from Win95 to W2k.Lasse Collin1-3/+3
2023-03-17Windows: build.bash: Copy liblzma API docs to the output package.Lasse Collin1-1/+2
2019-05-11spellingAntoine Cœur1-1/+1
2014-12-21Windows: Fix bin_i486 to bin_i686 in build.bash.Lasse Collin1-1/+1
2014-12-20Windows: Update the build script and README-Windows.txt.Lasse Collin1-9/+14
The 32-bit build is now for i686 or newer because the prebuilt MinGW-w64 toolchains include i686 code in the executables even if one uses -march=i486. The build script builds 32-bit SSE2 enabled version too. Run-time detection of SSE2 support would be nice (on any OS) but it's not implemented in XZ Utils yet.
2013-09-17Add native threading support on Windows.Lasse Collin1-14/+9
Now liblzma only uses "mythread" functions and types which are defined in mythread.h matching the desired threading method. Before Windows Vista, there is no direct equivalent to pthread condition variables. Since this package doesn't use pthread_cond_broadcast(), pre-Vista threading can still be kept quite simple. The pre-Vista code doesn't use anything that wasn't already available in Windows 95, so the binaries should run even on Windows 95 if someone happens to care.
2011-09-06Build: Fix "make check" on Windows.Lasse Collin1-0/+2
2010-10-26Build: Copy the example programs to $docdir/examples.Lasse Collin1-1/+2
The example programs by Daniel Mealha Cabrita were included in the git repository, but I had forgot to add them to Makefile.am. Thus, they didn't get included in the source package at all by "make dist".
2010-10-09Windows: Fix a diagnostics bug in build.bash.Lasse Collin1-1/+1
2010-10-09Windows: Make build.bash prefer MinGW-w32 over MinGW.Lasse Collin1-9/+9
This is simply for licensing reasons. The 64-bit version will be built with MinGW-w64 anyway (at least for now), so using it also for 32-bit build allows using the same copyright notice about the MinGW-w64/w32 runtime. Note that using MinGW would require a copyright notice too, because its runtime is not in the public domain either even though MinGW's home page claims that it is public domain. See <http://marc.info/?l=mingw-users&m=126489506214078>.
2010-10-09Windows: Copy COPYING-Windows.txt (if it exists) to the package.Lasse Collin1-2/+12
Also, put README-Windows.txt to the doc directory like the other documentation files.
2010-10-08Windows: Fix build.bash again.Lasse Collin1-3/+4
630a8beda34af0ac153c8051b1bf01230558e422 wasn't good.
2010-10-07Windows: Make build.bash work without --enable-dynamic=no.Lasse Collin1-2/+2
2010-09-28Move version.sh to build-aux.Lasse Collin1-1/+1
2010-07-27Windows: build.sh is a bash script so name it correctly.Lasse Collin1-0/+189