Overview
Comment: | README.md: Add note about using LLVM/Clang + ARM. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
e0fedfc49cbf68e3bafa23b9418a9656 |
User & Date: | js on 2013-09-17 17:25:19 |
Other Links: | manifest | tags |
Context
2013-09-18
| ||
09:41 | Move sources for forwarding to src/forwarding. check-in: c3623fcb7b user: js tags: trunk | |
2013-09-17
| ||
17:25 | README.md: Add note about using LLVM/Clang + ARM. check-in: e0fedfc49c user: js tags: trunk | |
17:18 | PLATFORMS.md: Add Android. check-in: e70c567cdd user: js tags: trunk | |
Changes
Modified README.md from [b5ec898978] to [bc28690e9d].
︙ | ︙ | |||
32 33 34 35 36 37 38 | you are done. Using the Mac OS X framework in Xcode ===================================== To use the Mac OS X framework in Xcode, you need to add the .framework | | > > > > > > > > > > > > > > > > > > | 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 | you are done. Using the Mac OS X framework in Xcode ===================================== To use the Mac OS X framework in Xcode, you need to add the .framework to your project and add the following flags to `Other C Flags`: -fconstant-string-class=OFConstantString -fno-constant-cfstrings Optionally, if you want to use blocks, you also need to add: -fblocks Building with LLVM/Clang for ARM ================================ When using LLVM/Clang to compile for ARM, it is necessary to specify extra flags in order to enable ARM EHABI compliant exceptions. To do so, set `OBJCFLAGS` to this: -O2 -g -mllvm -arm-enable-ehabi -mllvm -arm-enable-ehabi-descriptor If you are getting errors from the assembler about instructions being unavailable for the architecture, you need to set `OBJC` to this: clang -arch armv6 -mfpu=vfp Using these flags, ObjFW was compiled successfully for Android and the Raspberry Pi. Bugs and feature requests ========================= If you find any bugs or have feature requests, feel free to send a mail to js-spam@webkeks.org (remove -spam from the address!). |