ObjFW  Check-in [4494907e3f]

Overview
Comment:README.md: Update Clang + ARM instructions
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 4494907e3f1830aea41190c71c0d74788502060716df333b1113343f3248d82d
User & Date: js on 2014-07-18 09:55:25
Other Links: manifest | tags
Context
2014-07-18
10:08
OFApplication: Only use argv if argc > 0 check-in: c1dbf3b212 user: js tags: trunk
09:55
README.md: Update Clang + ARM instructions check-in: 4494907e3f user: js tags: trunk
2014-07-16
17:02
Fix check in -[OFDictionary_hashtable isEqual:] check-in: 2ecede1f96 user: js tags: trunk
Changes

Modified README.md from [cfefd6f578] to [878f7d8034].

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

    -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-descriptors

  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@webkeks.org!







|
|




|
>
>
|

|










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
71
72

    -fblocks


Building with LLVM/Clang for ARM
================================

  When using LLVM/Clang older than 3.5 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-descriptors

  If you have a CPU supporting VFP or NEON, it is important to set the correct
  architecture, as otherwise VFP / NEON registers won't be saved and restored
  when forwarding. For example, if you have an ARMv6 that supports VFP, you
  need to set `OBJC` to this:

    clang -march=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@webkeks.org!