Changeset View
Changeset View
Standalone View
Standalone View
doc/build-windows.md
Show First 20 Lines • Show All 108 Lines • ▼ Show 20 Lines | |||||
Once the source code is ready the build steps are below. | Once the source code is ready the build steps are below. | ||||
PATH=$(echo "$PATH" | sed -e 's/:\/mnt.*//g') # strip out problematic Windows %PATH% imported var | PATH=$(echo "$PATH" | sed -e 's/:\/mnt.*//g') # strip out problematic Windows %PATH% imported var | ||||
cd depends | cd depends | ||||
make HOST=x86_64-w64-mingw32 | make HOST=x86_64-w64-mingw32 | ||||
cd .. | cd .. | ||||
./autogen.sh # not required when building from tarball | ./autogen.sh # not required when building from tarball | ||||
CONFIG_SITE=$PWD/depends/x86_64-w64-mingw32/share/config.site ./configure --prefix=/ | CONFIG_SITE=$PWD/depends/x86_64-w64-mingw32/share/config.site ./configure --prefix=/ --with-seeder=false # seeder not supported in Windows yet | ||||
make | make | ||||
## Building for 32-bit Windows | ## Building for 32-bit Windows | ||||
To build executables for Windows 32-bit, install the following dependencies: | To build executables for Windows 32-bit, install the following dependencies: | ||||
sudo apt install g++-mingw-w64-i686 mingw-w64-i686-dev | sudo apt install g++-mingw-w64-i686 mingw-w64-i686-dev | ||||
Show All 11 Lines | |||||
Then build using: | Then build using: | ||||
PATH=$(echo "$PATH" | sed -e 's/:\/mnt.*//g') # strip out problematic Windows %PATH% imported var | PATH=$(echo "$PATH" | sed -e 's/:\/mnt.*//g') # strip out problematic Windows %PATH% imported var | ||||
cd depends | cd depends | ||||
make HOST=i686-w64-mingw32 | make HOST=i686-w64-mingw32 | ||||
cd .. | cd .. | ||||
./autogen.sh # not required when building from tarball | ./autogen.sh # not required when building from tarball | ||||
CONFIG_SITE=$PWD/depends/i686-w64-mingw32/share/config.site ./configure --prefix=/ | CONFIG_SITE=$PWD/depends/i686-w64-mingw32/share/config.site ./configure --prefix=/ --with-seeder=false # seeder not supported in Windows yet | ||||
make | make | ||||
## Depends system | ## Depends system | ||||
For further documentation on the depends system see [README.md](../depends/README.md) in the depends directory. | For further documentation on the depends system see [README.md](../depends/README.md) in the depends directory. | ||||
Installation | Installation | ||||
------------- | ------------- | ||||
Show All 24 Lines |