<div>Hello, I am a freebsd user. Swift interests me. I clone the swift git to freebsd os and build it then I don't know how to play with it, these are my experience:</div><div> </div><div>mkdir swift-sources</div><div>cd swift-sources</div><div>git clone <a href="https://github.com/apple/swift">https://github.com/apple/swift</a></div><div>./swift/utils/update-checkout --clone</div><div>cd swift</div><div>./utils/build-script -R</div><div> </div><div>After build finished, the swift has been generated:</div><div>$ cd ../</div><div><div>$ ls ./build/Ninja-ReleaseAssert/                                           </div><div>cmark-freebsd-x86_64       llvm-freebsd-x86_64</div><div>libdispatch-freebsd-x86_64 swift-freebsd-x86_642</div><div> </div><div>But when I invoke swift and swiftc, it show these errors:</div><div>$ ./build/Ninja-ReleaseAssert/swift-freebsd-x86_64/bin/swift</div><div><div>&lt;unknown&gt;:0: error: could not load the swift standard library</div><div> </div><div>So the first question is how can I configure the swift standard library?</div><div>I need swift working to learn swift programming.</div><div> </div><div>The second question:</div><div><div>$ echo "print(\"Hello Swift!\")" &gt; code.swift</div><div>$ ./build/Ninja-ReleaseAssert/swift-freebsd-x86_64/bin/swiftc code.swift</div><div>$ ls</div><div>build                          log.01.txt                                    clang                          ninja</div><div>cmark                          swift</div><div>code                           swift-corelibs-foundation</div><div>code.swift                     swift-corelibs-libdispatch</div><div>compiler-rt                    swift-corelibs-xctest</div><div>llbuild                        swift-integration-tests</div><div>lldb                           swift-xcode-playground-support</div><div>llvm                           swiftpm</div><div>$ ./code                                                                    </div><div>/usr/home/f/bin/sources/swift-sources/build/Ninja-ReleaseAssert/swift-freebsd-x86_64/lib/swift/freebsd/libswiftCore.so: Undefined symbol "__gnustep_objcxx_personality_v0"</div><div> </div><div>Swiftc can fortunitely compile the code, but when I run it, it</div><div>reports __gnustep_objcxx_personality_v0 is undefined symbol.</div><div>Yes, really it doesn't have gnustep or objcxx. I only want swift</div><div>and swiftc working. What should I do next?<br /> </div></div></div></div>