README.build
author Andrey Skvortsov <andrej.skvortzov@gmail.com>
Sun, 14 Oct 2018 20:14:13 +0300
changeset 1073 24ef30a9bcee
parent 1004 c25446920923
permissions -rw-r--r--
revert commits improved performance of some extensible Standard Functions (ADD, MUL, AND, OR, XOR)

Following commits are reverted:
mjsousa 0b275a2 improve performance of some extensible Standard Functions (ADD, MUL, AND, OR, XOR) -- increase hardcoded limit to 499
mjsousa 2228799 improve performance of some extensible Standard Functions (ADD, MUL, AND, OR, XOR) -- Add comments!!
mjsousa ce81fa6 improve performance of some extensible Standard Functions (ADD, MUL, AND, OR, XOR)"

The reason is that they cause regression in some cases (if function is
used as argument for function block, for example) and this is not
fixed for a long time.

Compile/Build 
=============

1) Compiling under Linux
------------------------
$ autoreconf -i
$ ./configure
$ make


2) Cross-Compiling under Linux, for Windows
-------------------------------------------
$ ./configure  --host=i586-pc-mingw32
(or, to use static linking, which does not require installing any mingw dll's on windows)
$ ./configure  --host=i586-pc-mingw32 LDFLAGS="-static"
$ make





Maintaining the Build Environment
=================================
-> Add new files to Makefile.am or add a new makefile
$ autoreconf


-> Prepare clean project
$ make distclean



-> Remember to add these files to your .hgignore
	Makefile
	config.*
	*.a
	.deps


-> Send me TODO list to complete build system.
	matteo.facchinetti@sirius-es.it