<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html>
<head>
<meta charset="utf-8">
<style>body{font-family:-apple-system,Helvetica,Arial,sans-serif;}blockquote{margin:0;padding:0 0 0 12px;border-left:1px solid #aaa;color:#aaa;}hr.unibox-forward{border:0;color:#888;background-color:#888;height:1px;}</style>
</head>
<body>
<div>I’m trying to cross-compile libsyntax (llvm, clang, swift) for iphoneos armv7 on my macos machine</div>
<div>Any help with the build-script parameters is welcome. My current setup is: </div>
<div>
<p style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);"><span style="font-variant-ligatures: no-common-ligatures"><br></span></p>
<p style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);"><span style="font-variant-ligatures: no-common-ligatures">swift/utils/build-script -R -i --cross-compile-hosts iphoneos-armv7 --no-llvm-assertions --no-swift-assertions --no-swift-stdlib-assertions </span>--extra-cmake-options="-DLLVM_ENABLE_BACKTRACES=Off“</p>
<p style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);"><br></p>
<p style="margin: 0px; font-stretch: normal; line-height: normal; background-color: rgb(255, 255, 255);">It seems a good start in the right direction, but it seems to build far more than just the basic compiler and it also fails to build.</p>
<p style="margin: 0px; font-stretch: normal; line-height: normal; background-color: rgb(255, 255, 255);">Is there anyone on the list that was able to cross compile the compiler (clang, llvm, swift) for iphoneos-armv7?</p>
<p style="margin: 0px; font-stretch: normal; line-height: normal; background-color: rgb(255, 255, 255);"><br></p>
<p style="margin: 0px; font-stretch: normal; line-height: normal; background-color: rgb(255, 255, 255);">Thanks,</p>
<p style="margin: 0px; font-stretch: normal; line-height: normal; background-color: rgb(255, 255, 255);">Philipp</p>
</div>
<div class="unibox-signature"></div>
</body>
</html>