OLD | NEW |
1 Name: yasm | 1 Name: yasm |
2 URL: http://www.tortall.net/projects/yasm/ | 2 URL: http://www.tortall.net/projects/yasm/ |
3 Version: 1.1.0 | 3 Version: 1.1.0 |
4 With these patches merged: | 4 With these patches merged: |
5 * https://github.com/yasm/yasm/commit/a2cbb10ee1b90b73647667ac849c74d65761d412 | 5 * https://github.com/yasm/yasm/commit/a2cbb10ee1b90b73647667ac849c74d65761d412 |
6 * https://github.com/yasm/yasm/commit/01ab853e68ef8aeded716d6f5b34895200f66a51 | 6 * https://github.com/yasm/yasm/commit/01ab853e68ef8aeded716d6f5b34895200f66a51 |
7 * https://github.com/yasm/yasm/commit/82fafa7b5619e702c8681c959ade0746498e3cbc | 7 * https://github.com/yasm/yasm/commit/82fafa7b5619e702c8681c959ade0746498e3cbc |
8 * https://github.com/yasm/yasm/commit/2bd66514b6b100887c19d8598da38347b3cff40e | 8 * https://github.com/yasm/yasm/commit/2bd66514b6b100887c19d8598da38347b3cff40e |
9 * https://github.com/yasm/yasm/commit/ab19547382660d81e0b4a0232dccb38f44c52a36 | 9 * https://github.com/yasm/yasm/commit/ab19547382660d81e0b4a0232dccb38f44c52a36 |
10 | 10 |
(...skipping 14 matching lines...) Expand all Loading... |
25 | 25 |
26 3) Next, capture all the output from a build of yasm. We will use the build | 26 3) Next, capture all the output from a build of yasm. We will use the build |
27 log as a reference for making the yasm.gyp file. | 27 log as a reference for making the yasm.gyp file. |
28 | 28 |
29 make yasm > yasm_build_log 2> yasm_build_err | 29 make yasm > yasm_build_log 2> yasm_build_err |
30 | 30 |
31 4) Check yasm_build_err to see if there are any anomalies beyond yasm's | 31 4) Check yasm_build_err to see if there are any anomalies beyond yasm's |
32 compiler warnings. | 32 compiler warnings. |
33 | 33 |
34 5) Grab the generated Makefile, libyasm-stdint.h, config.h, and put into | 34 5) Grab the generated Makefile, libyasm-stdint.h, config.h, and put into |
35 the correct platform location. For android platform, copy the files | 35 the correct platform location. |
36 generated for linux. | |
37 | 36 |
38 src/third_party/yasm/source/config/[platform] | 37 src/third_party/yasm/source/config/[platform] |
39 | 38 |
40 While we do not directly use the "Makefile" to build, it is needed by | 39 While we do not directly use the "Makefile" to build, it is needed by |
41 the "genmodule" subprogram as input for creating the available modules | 40 the "genmodule" subprogram as input for creating the available modules |
42 list. | 41 list. |
43 | 42 |
44 6) Make sure all the subprograms are represented in yasm.gyp. | 43 6) Make sure all the subprograms are represented in yasm.gyp. |
45 | 44 |
46 grep '^gcc' yasm_build_log | | 45 grep '^gcc' yasm_build_log | |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
124 Yasm uses python scripts to generate the assembly code description | 123 Yasm uses python scripts to generate the assembly code description |
125 files in C++. Make sure to get these put into the gyp file properly as | 124 files in C++. Make sure to get these put into the gyp file properly as |
126 well. An example is gen_x86_insn.py for x86 assembly. | 125 well. An example is gen_x86_insn.py for x86 assembly. |
127 | 126 |
128 Note that at least the gen_x86_insn.py script suffers from the same | 127 Note that at least the gen_x86_insn.py script suffers from the same |
129 problem as genmacro in that it outputs to the current directory by | 128 problem as genmacro in that it outputs to the current directory by |
130 default. The yasm.gyp build patches this file before invoking it to | 129 default. The yasm.gyp build patches this file before invoking it to |
131 allow specifying an output directory. | 130 allow specifying an output directory. |
132 | 131 |
133 10) If all that's is finished, attempt to build....and cross your fingers. | 132 10) If all that's is finished, attempt to build....and cross your fingers. |
OLD | NEW |