The Wayback Machine - https://web.archive.org/web/20200915014936/https://github.com/mono/CppSharp/issues/1220
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

Improve target triple options #1220

Open
tritao opened this issue May 8, 2019 · 2 comments
Open

Improve target triple options #1220

tritao opened this issue May 8, 2019 · 2 comments
Assignees
Labels

Comments

@tritao
Copy link
Collaborator

@tritao tritao commented May 8, 2019

Right now we support cross generation for all platforms and architectures but this is not documented or easy to figure out.

Improve the API by extend the existing Triple class and changing options.TargetTriple.

Triple(string),
Triple(TargetPlatform, TargetArch) ctors

@tritao tritao self-assigned this May 8, 2019
@tritao tritao added bug enhancement and removed bug labels Dec 26, 2019
@fsinisi90
Copy link
Contributor

@fsinisi90 fsinisi90 commented Jul 28, 2020

Is this documented anywhere already? I want to generate Windows bindings on macOS but I have no idea where to start.

@ddobrev
Copy link
Contributor

@ddobrev ddobrev commented Jul 29, 2020

@fsinisi90 if you need the correct target triple for your settings, for the time being you'll have to construct it yourself. https://clang.llvm.org/docs/CrossCompilation.html documents how.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
3 participants
You can’t perform that action at this time.