README.build
author Edouard Tisserant
Thu, 12 Mar 2015 16:36:33 +0100
changeset 997 7518955c875a
parent 901 6a3964be6a29
child 1004 c25446920923
permissions -rw-r--r--
Fixed reset of current_varqualifier when generating global initializers, causin RETAIN and other option to be ORed and applied to all subsequent global variables.
353
17bffb57a8c5 Building compiler with autoconf. Thanks go to Matteo of sirius-es.it
Mario de Sousa <msousa@fe.up.pt>
parents:
diff changeset
     1
357
8a6a69dd23ce Some more comments on how to build, and correcting name of README.build file.
Mario de Sousa <msousa@fe.up.pt>
parents: 353
diff changeset
     2
Compile/Build 
8a6a69dd23ce Some more comments on how to build, and correcting name of README.build file.
Mario de Sousa <msousa@fe.up.pt>
parents: 353
diff changeset
     3
=============
8a6a69dd23ce Some more comments on how to build, and correcting name of README.build file.
Mario de Sousa <msousa@fe.up.pt>
parents: 353
diff changeset
     4
8a6a69dd23ce Some more comments on how to build, and correcting name of README.build file.
Mario de Sousa <msousa@fe.up.pt>
parents: 353
diff changeset
     5
1) Compiling under Linux
8a6a69dd23ce Some more comments on how to build, and correcting name of README.build file.
Mario de Sousa <msousa@fe.up.pt>
parents: 353
diff changeset
     6
------------------------
901
6a3964be6a29 Update build/compile instructions to reflect the fact that autoconf needs to be executed.
mjsousa
parents: 357
diff changeset
     7
$ autoreconf -i
357
8a6a69dd23ce Some more comments on how to build, and correcting name of README.build file.
Mario de Sousa <msousa@fe.up.pt>
parents: 353
diff changeset
     8
$ ./configure
8a6a69dd23ce Some more comments on how to build, and correcting name of README.build file.
Mario de Sousa <msousa@fe.up.pt>
parents: 353
diff changeset
     9
$ make
8a6a69dd23ce Some more comments on how to build, and correcting name of README.build file.
Mario de Sousa <msousa@fe.up.pt>
parents: 353
diff changeset
    10
8a6a69dd23ce Some more comments on how to build, and correcting name of README.build file.
Mario de Sousa <msousa@fe.up.pt>
parents: 353
diff changeset
    11
8a6a69dd23ce Some more comments on how to build, and correcting name of README.build file.
Mario de Sousa <msousa@fe.up.pt>
parents: 353
diff changeset
    12
2) Cross-Compiling under Linux, for Windows
8a6a69dd23ce Some more comments on how to build, and correcting name of README.build file.
Mario de Sousa <msousa@fe.up.pt>
parents: 353
diff changeset
    13
-------------------------------------------
8a6a69dd23ce Some more comments on how to build, and correcting name of README.build file.
Mario de Sousa <msousa@fe.up.pt>
parents: 353
diff changeset
    14
$ ./configure  --host=i586-pc-mingw32
8a6a69dd23ce Some more comments on how to build, and correcting name of README.build file.
Mario de Sousa <msousa@fe.up.pt>
parents: 353
diff changeset
    15
$ make
8a6a69dd23ce Some more comments on how to build, and correcting name of README.build file.
Mario de Sousa <msousa@fe.up.pt>
parents: 353
diff changeset
    16
8a6a69dd23ce Some more comments on how to build, and correcting name of README.build file.
Mario de Sousa <msousa@fe.up.pt>
parents: 353
diff changeset
    17
8a6a69dd23ce Some more comments on how to build, and correcting name of README.build file.
Mario de Sousa <msousa@fe.up.pt>
parents: 353
diff changeset
    18
8a6a69dd23ce Some more comments on how to build, and correcting name of README.build file.
Mario de Sousa <msousa@fe.up.pt>
parents: 353
diff changeset
    19
8a6a69dd23ce Some more comments on how to build, and correcting name of README.build file.
Mario de Sousa <msousa@fe.up.pt>
parents: 353
diff changeset
    20
8a6a69dd23ce Some more comments on how to build, and correcting name of README.build file.
Mario de Sousa <msousa@fe.up.pt>
parents: 353
diff changeset
    21
Maintaining the Build Environment
8a6a69dd23ce Some more comments on how to build, and correcting name of README.build file.
Mario de Sousa <msousa@fe.up.pt>
parents: 353
diff changeset
    22
=================================
353
17bffb57a8c5 Building compiler with autoconf. Thanks go to Matteo of sirius-es.it
Mario de Sousa <msousa@fe.up.pt>
parents:
diff changeset
    23
-> Add new files to Makefile.am or add a new makefile
17bffb57a8c5 Building compiler with autoconf. Thanks go to Matteo of sirius-es.it
Mario de Sousa <msousa@fe.up.pt>
parents:
diff changeset
    24
$ autoreconf
17bffb57a8c5 Building compiler with autoconf. Thanks go to Matteo of sirius-es.it
Mario de Sousa <msousa@fe.up.pt>
parents:
diff changeset
    25
17bffb57a8c5 Building compiler with autoconf. Thanks go to Matteo of sirius-es.it
Mario de Sousa <msousa@fe.up.pt>
parents:
diff changeset
    26
17bffb57a8c5 Building compiler with autoconf. Thanks go to Matteo of sirius-es.it
Mario de Sousa <msousa@fe.up.pt>
parents:
diff changeset
    27
-> Prepare clean project
17bffb57a8c5 Building compiler with autoconf. Thanks go to Matteo of sirius-es.it
Mario de Sousa <msousa@fe.up.pt>
parents:
diff changeset
    28
$ make distclean
17bffb57a8c5 Building compiler with autoconf. Thanks go to Matteo of sirius-es.it
Mario de Sousa <msousa@fe.up.pt>
parents:
diff changeset
    29
17bffb57a8c5 Building compiler with autoconf. Thanks go to Matteo of sirius-es.it
Mario de Sousa <msousa@fe.up.pt>
parents:
diff changeset
    30
17bffb57a8c5 Building compiler with autoconf. Thanks go to Matteo of sirius-es.it
Mario de Sousa <msousa@fe.up.pt>
parents:
diff changeset
    31
357
8a6a69dd23ce Some more comments on how to build, and correcting name of README.build file.
Mario de Sousa <msousa@fe.up.pt>
parents: 353
diff changeset
    32
-> Remember to add these files to your .hgignore
353
17bffb57a8c5 Building compiler with autoconf. Thanks go to Matteo of sirius-es.it
Mario de Sousa <msousa@fe.up.pt>
parents:
diff changeset
    33
	Makefile
17bffb57a8c5 Building compiler with autoconf. Thanks go to Matteo of sirius-es.it
Mario de Sousa <msousa@fe.up.pt>
parents:
diff changeset
    34
	config.*
17bffb57a8c5 Building compiler with autoconf. Thanks go to Matteo of sirius-es.it
Mario de Sousa <msousa@fe.up.pt>
parents:
diff changeset
    35
	*.a
17bffb57a8c5 Building compiler with autoconf. Thanks go to Matteo of sirius-es.it
Mario de Sousa <msousa@fe.up.pt>
parents:
diff changeset
    36
	.deps
17bffb57a8c5 Building compiler with autoconf. Thanks go to Matteo of sirius-es.it
Mario de Sousa <msousa@fe.up.pt>
parents:
diff changeset
    37
17bffb57a8c5 Building compiler with autoconf. Thanks go to Matteo of sirius-es.it
Mario de Sousa <msousa@fe.up.pt>
parents:
diff changeset
    38
357
8a6a69dd23ce Some more comments on how to build, and correcting name of README.build file.
Mario de Sousa <msousa@fe.up.pt>
parents: 353
diff changeset
    39
-> Send me TODO list to complete build system.
353
17bffb57a8c5 Building compiler with autoconf. Thanks go to Matteo of sirius-es.it
Mario de Sousa <msousa@fe.up.pt>
parents:
diff changeset
    40
	matteo.facchinetti@sirius-es.it
17bffb57a8c5 Building compiler with autoconf. Thanks go to Matteo of sirius-es.it
Mario de Sousa <msousa@fe.up.pt>
parents:
diff changeset
    41