devel:sis
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
devel:sis [2016/09/27 21:42] – [Cross-compiling for Windows] danil | devel:sis [2017/01/20 10:33] (current) – removed danil | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Building SIS ====== | ||
- | * Replace '' | ||
- | * Use '' | ||
- | * For Windows builds add '' | ||
- | |||
- | ===== Cross-compiling for Windows ===== | ||
- | |||
- | - Install MinGW-W64:< | ||
- | sudo apt install mingw-w64 | ||
- | </ | ||
- | - Add the following files to ''/ | ||
- | * '' | ||
- | * '' | ||
- | * '' | ||
- | - Create symbolic links to the above files from ''/ | ||
- | ln -s ../ | ||
- | ln -s ../ | ||
- | ln -s ../ | ||
- | </ | ||
- | - Create symbolic links to the above files from ''/ | ||
- | ln -s ../ | ||
- | ln -s ../ | ||
- | ln -s ../ | ||
- | </ | ||
- | |||
- | ==== 32-bit for Windows ==== | ||
- | * Rebuild SIS:< | ||
- | ./configure --host=i686-w64-mingw32 | ||
- | make | ||
- | </ | ||
- | |||
- | ==== 64-bit for Windows ==== | ||
- | |||
- | * Rebuild SIS:< | ||
- | ./configure --host=x86_64-w64-mingw32 | ||
- | make | ||
- | </ | ||
- | |||
- | ===== Compiling for Linux ===== | ||
- | |||
- | |||
- | ==== 32-bit for Linux ==== | ||
- | * Rebuild SIS:< | ||
- | CFLAGS=-m32 ./configure | ||
- | make | ||
- | </ | ||
- | |||
- | ==== 64-bit for Linux ==== | ||
- | |||
- | * Rebuild SIS:< | ||
- | CFLAGS=-m64 ./configure | ||
- | make | ||
- | </ |
Copyright © 2014-2024 workcraft.org