author | Mario de Sousa <msousa@fe.up.pt> |
Tue, 04 Apr 2017 15:28:49 +0100 | |
changeset 1045 | 428e0748b5cd |
parent 1004 | c25446920923 |
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 |
------------------------ |
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 |
1004
c25446920923
Update README.build file with instructions for crosscompiling to win32
mjsousa
parents:
901
diff
changeset
|
15 |
(or, to use static linking, which does not require installing any mingw dll's on windows) |
c25446920923
Update README.build file with instructions for crosscompiling to win32
mjsousa
parents:
901
diff
changeset
|
16 |
$ ./configure --host=i586-pc-mingw32 LDFLAGS="-static" |
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
|
17 |
$ 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
|
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 |
|
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 |
|
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
|
23 |
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
|
24 |
================================= |
353
17bffb57a8c5
Building compiler with autoconf. Thanks go to Matteo of sirius-es.it
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
25 |
-> 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
|
26 |
$ autoreconf |
17bffb57a8c5
Building compiler with autoconf. Thanks go to Matteo of sirius-es.it
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
27 |
|
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 |
-> 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
|
30 |
$ 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
|
31 |
|
17bffb57a8c5
Building compiler with autoconf. Thanks go to Matteo of sirius-es.it
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
32 |
|
17bffb57a8c5
Building compiler with autoconf. Thanks go to Matteo of sirius-es.it
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
33 |
|
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
|
34 |
-> 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
|
35 |
Makefile |
17bffb57a8c5
Building compiler with autoconf. Thanks go to Matteo of sirius-es.it
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
36 |
config.* |
17bffb57a8c5
Building compiler with autoconf. Thanks go to Matteo of sirius-es.it
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
37 |
*.a |
17bffb57a8c5
Building compiler with autoconf. Thanks go to Matteo of sirius-es.it
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
38 |
.deps |
17bffb57a8c5
Building compiler with autoconf. Thanks go to Matteo of sirius-es.it
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
39 |
|
17bffb57a8c5
Building compiler with autoconf. Thanks go to Matteo of sirius-es.it
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
40 |
|
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
|
41 |
-> 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
|
42 |
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
|
43 |