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/28 12:38] – danil | devel:sis [2017/01/20 10:33] (current) – removed danil | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Building SIS ====== | ||
- | SIS provides a logic synthesis library '' | ||
- | ===== Generic notes ===== | ||
- | * GCC compatibility | ||
- | * Replace '' | ||
- | * Windows builds | ||
- | * Cygwin build is smooth, but it introduces ugly dependency on '' | ||
- | * MinGW provides a convenient toolchain for cross-compilation and does not introduce unnecessary dependencies. To install MinGW-W64 in Ubuntu so: < | ||
- | sudo apt install mingw-w64 | ||
- | </ | ||
- | * Use '' | ||
- | * Add '' | ||
- | ifneq ($(findstring mingw32, $(CC)),) | ||
- | sis_LDADD = libsis.a -lm -lwinmm | ||
- | else | ||
- | sis_LDADD = libsis.a -lm | ||
- | endif | ||
- | </ | ||
- | |||
- | * The primary goal is to build '' | ||
- | * As the terminal API is not supported in Windows, all the SIS interactive functionality is excluded from Windows build. | ||
- | * Memory management is switched to '' | ||
- | * Host name is assigned to //" | ||
- | * An alternative implementation of signal '' | ||
- | * An alternative implementation of '' | ||
- | |||
- | ===== Cross-compiling for Windows ===== | ||
- | * 32-bit SIS for Windows:< | ||
- | ./configure --host=i686-w64-mingw32 | ||
- | make | ||
- | </ | ||
- | * 64-bit SIS for Windows:< | ||
- | ./configure --host=x86_64-w64-mingw32 | ||
- | make | ||
- | </ | ||
- | |||
- | ===== Compiling for Linux ===== | ||
- | * 32-bit SIS for Linux:< | ||
- | CFLAGS=-m32 ./configure | ||
- | make | ||
- | </ | ||
- | * 64-bit SIS for Linux:< | ||
- | CFLAGS=-m64 ./configure | ||
- | make | ||
- | </ |
Copyright © 2014-2024 workcraft.org