- Timestamp:
-
07/30/19 19:32:07 (5 years ago)
- Author:
-
Gedare Bloom
- Comment:
-
Add cmake instructions due to obsoleted configure in llvm.
Legend:
- Unmodified
- Added
- Removed
- Modified
-
v10
|
v11
|
|
51 | 51 | |
52 | 52 | For now, you need the regular RTEMS toolchain installed. We are using the normal RTEMS binutils and gdb. In addition, the way I have been building requires using the CPU-rtems4.11-gcc as a helper wrapper. |
| 53 | |
53 | 54 | = Building Clang = |
54 | 55 | |
… |
… |
|
66 | 67 | |
67 | 68 | After this completed, I ensured that my PATH included /opt/rtems-4.11/bin and /users/joel/llvm/install/bin for subsequent builds. |
| 69 | |
| 70 | 'UPDATE': ''configure'' is no longer supported. cmake is used instead. Try the following command instead of the configure line above: |
| 71 | {{{ |
| 72 | cmake -DCMAKE_INSTALL_PREFIX=/users/joel/llvm/install -DLLVM_ENABLE_PROJECTS=clang -G "Unix Makefiles" ../llvm |
| 73 | }}} |
| 74 | And then you can `make && make install`. (You should also pass -j option to make for a faster build.) |
| 75 | |
68 | 76 | = Building Newlib With Clang = |
69 | 77 | |