<div dir="ltr">
<p class=""><span class="">While trying to build for iOS, I am stuck here...I am using the build-script to compile, iOS simulator builds are done and for arm all libs are generate except libSwiftIRGen.a, libSwiftSILOptimizer & libSwiftImmediate.a</span></p><p class=""><span class=""><b>swift/swift/lib/Immediate/REPL.cpp:39:10: </b></span><span class=""><b>fatal error: </b></span><span class=""><b>'histedit.h' file not found</b></span></p>
<p class=""><span class="">#include <histedit.h></span></p><p class="">this file is not there for iOS, how to get around this.</p></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Feb 23, 2016 at 7:23 AM, Joe Groff <span dir="ltr"><<a href="mailto:jgroff@apple.com" target="_blank">jgroff@apple.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><br><div><span class=""><blockquote type="cite"><div>On Feb 22, 2016, at 5:49 PM, Ramakrishna Mallireddy <<a href="mailto:ramakrishna.malli@gmail.com" target="_blank">ramakrishna.malli@gmail.com</a>> wrote:</div><br><div><div dir="ltr">Hi Joe, <div><br></div><div>I am not looking to build the llvm back-end, I am only looking to build front-ends to generate llvm IR on iOS.</div><div><br><div>have build the swift-llvm & swift-clang static libraries for iOS using cmake, <div>now I am looking to build the swift front-end for iOS, do you have any instructions that makes my job easier going forward.</div></div></div></div></div></blockquote><div><br></div></span><div>We don't build any of the compiler for iOS, either the backend or frontend. I'd start by adding targets to the build system for the compiler's libraries (libswiftAST, libswiftSema, etc.) targeting iOS and seeing what breaks.</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>-Joe</div></font></span><span class=""><br><blockquote type="cite"><div><div dir="ltr"><div><div><div>Thanks</div><div>Ramakrishna </div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Feb 22, 2016 at 11:20 PM, Joe Groff <span dir="ltr"><<a href="mailto:jgroff@apple.com" target="_blank">jgroff@apple.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><span>On Feb 22, 2016, at 4:29 AM, Ramakrishna Mallireddy via swift-users <<a href="mailto:swift-users@swift.org" target="_blank">swift-users@swift.org</a>> wrote:<br><div><blockquote type="cite"><br><div><div dir="ltr"><span style="font-size:12.8px">HI,</span><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">How can I compile the swift front-end for iOS.</div><div style="font-size:12.8px">the build-script mentioned only Swift Standard Library for iOS.</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">I have read the build-script-impl, it does have the iOS build flags, but are they only for building the standard library or am I missing something.</div></div></div></blockquote><br></div></span><div>That's right, the build script only builds the runtime libraries for iOS, not the compiler itself. We don't build or test the compiler on iOS since that's not normally useful for Xcode development.</div><span><font color="#888888"><div><br></div><div>-Joe</div><br></font></span></div></blockquote></div><br></div>
</div></blockquote></span></div><br></div></blockquote></div><br></div>