User Tools

Site Tools


devel:sis

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
devel:sis [2016/09/27 21:18] – [Building SIS] danildevel:sis [2017/01/20 10:33] (current) – removed danil
Line 1: Line 1:
-====== Building SIS ====== 
- 
-  * Replace ''restrict'' to ''restrict_var'' -- it is a keyword now. 
-  * Use ''%%__MINGW32__%%'' macro to distinguish Linux/Windows builds. 
-  * For Windows builds add ''-lwinmm'' to the linker command. 
- 
-===== Cross-compiling for Windows ===== 
- 
-  - Install MinGW-W64<code> 
-sudo apt install mingw-w64 
-</code> 
- 
-==== 32-bit for Windows ==== 
-  * Rebuild SIS:<code> 
-./configure --host=i686-w64-mingw32 
-make 
-</code> 
- 
-==== 64-bit for Windows ==== 
- 
-  * Rebuild SIS:<code> 
-./configure --host=x86_64-w64-mingw32 
-make 
-</code> 
- 
-===== Compiling for Linux ===== 
- 
- 
-==== 32-bit for Linux ==== 
-  * Rebuild SIS:<code> 
-CFLAGS=-m32 ./configure 
-make 
-</code> 
- 
-==== 64-bit for Linux ==== 
- 
-  * Rebuild SIS:<code> 
-CFLAGS=-m64 ./configure 
-make 
-</code> 
  
Copyright © 2014-2024 workcraft.org

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki