README.build
author Edouard Tisserant
Wed, 24 Nov 2021 08:58:58 +0100
changeset 1095 36bbd0b64816
parent 1004 c25446920923
permissions -rw-r--r--
Fixed __SET_EXTERNAL_FB declaration in accessor.h, invoked when accessing EXTERNAL_BLOCK.VARIABLE. Macro was invoking __SET_VAR with wrong parameter count. Fixed corresponding code generator for ST. Seems similar codegen for IL is also broken, but fix would affect other (unknown) behviours -> didn't touch it.

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