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

Commits on Jul 4, 2020

  1. AsMain/makefile: support cross-compiling from x86_64 Mac

    To support cross-compilation from x86_64:
    
    - explicitly specify arch to be arm64
    - Use xcrun to find the SDK path to the active Xcode
    zhuowei committed Jul 4, 2020
    Configuration menu
    Copy the full SHA
    35b65d4 View commit details
    Browse the repository at this point in the history
  2. AsMain: hack: mark as an iOS application for testing on iOS

    I don't have a DTK, so I tested this by sideloading it to an iPad:
    
    - add this patch
    - make
    - Create a new Xcode project named HelloWorld
    - in Build Phases->Compile Sources, delete everthing
    - drag HelloWorld into the project
    - Clean build folder, build.
    - Make sure the app that's build has the right HelloWorld file.
    - Clean build folder, run.
    
    Xcode displays "Hello World!" in the console.
    zhuowei committed Jul 4, 2020
    Configuration menu
    Copy the full SHA
    7ffccb4 View commit details
    Browse the repository at this point in the history