Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not merge: AsMain: run working HelloWorld asm example for iOS, since I don't have a DTK #3

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions AsMain/makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
HelloWorld: HelloWorld.o
ld -o HelloWorld HelloWorld.o -lSystem
ld -arch arm64 -platform_version ios 12.0 12.0 -syslibroot $(shell xcrun -sdk macosx --show-sdk-path) -o HelloWorld HelloWorld.o -lSystem

HelloWorld.o: main.s
as -o HelloWorld.o main.s
as -arch arm64 -o HelloWorld.o main.s