Skip to content

Commit 1edc767

Browse files
authored
Update iOS JIT build instructions
1 parent a762004 commit 1edc767

File tree

1 file changed

+5
-9
lines changed

1 file changed

+5
-9
lines changed

README.md

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -39,15 +39,11 @@ make
3939
There seems to be a bug in qmake that makes the required .S get ignored when building a JIT-enabled ([`TRANSLATION_ENABLED = true`](https://github.com/nspire-emus/firebird/blob/master/firebird.pro#L4)) binary.
4040
As a workaround, you'll have to take care of it manually:
4141

42-
1. start a standard build so that all the needed files get created
43-
2. in Terminal, `cd` to the `src/core` directory
44-
3. get the .o yourself: `clang -arch armv7 -marm -o asmcode_arm.o -c asmcode_arm.S`
45-
4. move this newly created `asmcode_arm.o` into the objects directory (`[BUILD_FOLDER]/firebird.build/Release-iphoneos/firebird.build/Objects-normal/armv7/`)
46-
5. add a line with `asmcode_arm.o` to the `firebird.LinkFileList` file (which is also located in the objects folder)
47-
6. lock both files (Right-Click -> Get Info)
48-
49-
Now that these files are locked, the next build won't be able to overwrite them, and it should be fine to rebuild.
50-
You should then be able to Deploy to your iOS device. Don't forget to transfer the boot1 and flash, from within iTunes, for instance.
42+
1. Hit Build in Qt Creator, on an iOS kit/target. (It'll fail)
43+
2. Open the generated .xcodeproj file (in the build folder) in Xcode
44+
3. Locate `asmcode_arm.S` in the file list, click on it, and in the right sidebar, add it to the Firebird target
45+
4. Adjust any other project settings as you see fit (certs/profiles/team/signings/entitlements/etc. though this should be automatic except the Team choice)
46+
5. Build/Run
5147

5248

5349
License

0 commit comments

Comments
 (0)