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

[Question]Getting undefined symbol _main for watchOS builds when this toolchain file is used #149

Open
abhimohata opened this issue Jul 8, 2022 · 0 comments

Comments

@abhimohata
Copy link

I tried to use this toolchain file for all the apple kernel related builds that we are doing - macOS, tvOS, watchOS, iOS etc.
I believe this toolchain file can also be used if we are trying to build an independent watchOS application ?
Currently, when we used this toolchain file and did a build of our application, we get undefined symbol for _main as '_main' is not found for the architecture x86_64.
Is there any pointers on how this can be addressed or if there is an example project that can be used with this toolchain file to build a watchOS application ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant