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.2.0 | 3 Version: 1.2.0 |
4 License: 2-clause or 3-clause BSD licensed, with the exception of bitvect, which
is triple-licensed under the Artistic license, GPL, and LGPL | 4 License: 2-clause or 3-clause BSD licensed, with the exception of bitvect, which
is triple-licensed under the Artistic license, GPL, and LGPL |
5 License File: source/patched-yasm/COPYING | 5 License File: source/patched-yasm/COPYING |
6 License Android Compatible: yes | 6 License Android Compatible: yes |
7 Security Critical: no | 7 Security Critical: no |
8 | 8 |
9 With these patches merged: | 9 With these patches merged: |
10 * https://github.com/yasm/yasm/commit/a2cbb10ee1b90b73647667ac849c74d65761d412 | 10 * https://github.com/yasm/yasm/commit/a2cbb10ee1b90b73647667ac849c74d65761d412 |
(...skipping 19 matching lines...) Expand all Loading... |
30 3) Next, capture all the output from a build of yasm. We will use the build | 30 3) Next, capture all the output from a build of yasm. We will use the build |
31 log as a reference for making the yasm.gyp file. | 31 log as a reference for making the yasm.gyp file. |
32 | 32 |
33 make yasm > yasm_build_log 2> yasm_build_err | 33 make yasm > yasm_build_log 2> yasm_build_err |
34 | 34 |
35 4) Check yasm_build_err to see if there are any anomalies beyond yasm's | 35 4) Check yasm_build_err to see if there are any anomalies beyond yasm's |
36 compiler warnings. | 36 compiler warnings. |
37 | 37 |
38 5) Grab the generated Makefile, libyasm-stdint.h, config.h, and put into | 38 5) Grab the generated Makefile, libyasm-stdint.h, config.h, and put into |
39 the correct platform location. For android platform, copy the files | 39 the correct platform location. For android platform, copy the files |
40 generated for linux. For ios, copy the files from mac. | 40 generated for linux, but make sure that ENABLE_NLS is not defined to |
| 41 allow mac host compiles to work. For ios, copy the files from mac. |
41 | 42 |
42 src/third_party/yasm/source/config/[platform] | 43 src/third_party/yasm/source/config/[platform] |
43 | 44 |
44 While we do not directly use the "Makefile" to build, it is needed by | 45 While we do not directly use the "Makefile" to build, it is needed by |
45 the "genmodule" subprogram as input for creating the available modules | 46 the "genmodule" subprogram as input for creating the available modules |
46 list. | 47 list. |
47 | 48 |
48 6) Make sure all the subprograms are represented in yasm.gyp. | 49 6) Make sure all the subprograms are represented in yasm.gyp. |
49 | 50 |
50 grep '^gcc' yasm_build_log | | 51 grep '^gcc' yasm_build_log | |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
128 Yasm uses python scripts to generate the assembly code description | 129 Yasm uses python scripts to generate the assembly code description |
129 files in C++. Make sure to get these put into the gyp file properly as | 130 files in C++. Make sure to get these put into the gyp file properly as |
130 well. An example is gen_x86_insn.py for x86 assembly. | 131 well. An example is gen_x86_insn.py for x86 assembly. |
131 | 132 |
132 Note that at least the gen_x86_insn.py script suffers from the same | 133 Note that at least the gen_x86_insn.py script suffers from the same |
133 problem as genmacro in that it outputs to the current directory by | 134 problem as genmacro in that it outputs to the current directory by |
134 default. The yasm.gyp build patches this file before invoking it to | 135 default. The yasm.gyp build patches this file before invoking it to |
135 allow specifying an output directory. | 136 allow specifying an output directory. |
136 | 137 |
137 10) If all that's is finished, attempt to build....and cross your fingers. | 138 10) If all that's is finished, attempt to build....and cross your fingers. |
OLD | NEW |