author | Laurent Bessard |
Sun, 21 Oct 2012 16:55:08 +0200 | |
changeset 635 | a20a70021d37 |
parent 357 | 8a6a69dd23ce |
child 901 | 6a3964be6a29 |
permissions | -rw-r--r-- |
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 |
------------------------ |
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
|
7 |
$ ./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
|
8 |
$ 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
|
9 |
|
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 |
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
|
12 |
------------------------------------------- |
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 |
$ ./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
|
14 |
$ 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
|
15 |
|
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 |
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
|
21 |
================================= |
353
17bffb57a8c5
Building compiler with autoconf. Thanks go to Matteo of sirius-es.it
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
22 |
-> 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
|
23 |
$ autoreconf |
17bffb57a8c5
Building compiler with autoconf. Thanks go to Matteo of sirius-es.it
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
24 |
|
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 |
-> 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
|
27 |
$ 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
|
28 |
|
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 |
|
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
|
31 |
-> 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
|
32 |
Makefile |
17bffb57a8c5
Building compiler with autoconf. Thanks go to Matteo of sirius-es.it
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
33 |
config.* |
17bffb57a8c5
Building compiler with autoconf. Thanks go to Matteo of sirius-es.it
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
34 |
*.a |
17bffb57a8c5
Building compiler with autoconf. Thanks go to Matteo of sirius-es.it
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
35 |
.deps |
17bffb57a8c5
Building compiler with autoconf. Thanks go to Matteo of sirius-es.it
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
36 |
|
17bffb57a8c5
Building compiler with autoconf. Thanks go to Matteo of sirius-es.it
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
37 |
|
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
|
38 |
-> 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
|
39 |
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
|
40 |