<div dir="ltr"><div>Thanks Kyle and Jordan! That's the information I was looking for. Anyway I am not using these options explicitly, but found that they are invoked while Swift test suite is run. A few test cases are failing for me on ppc64le and while analyzing it I came across these options. Thanks for the info!</div><div><br></div><div>Best regards,</div><div>Atul.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Dec 6, 2017 at 4:16 AM, Jordan Rose <span dir="ltr"><<a href="mailto:jordan_rose@apple.com" target="_blank">jordan_rose@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="-ms-word-wrap: break-word;"><div>-c is an alias for -emit-object. -frontend is "magically start talking to Swift's implementation details" and you shouldn't use it. More info in <a href="https://github.com/apple/swift/blob/master/docs/Driver.md" target="_blank">docs/Driver.md</a>.</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>Jordan</div></font></span><div><div class="h5"><br><div><br><blockquote type="cite"><div>On Dec 5, 2017, at 14:23, Kyle Murray via swift-users <<a href="mailto:swift-users@swift.org" target="_blank">swift-users@swift.org</a>> wrote:</div><br class="m_-2208320330942142784Apple-interchange-newline"><div><div style="-ms-word-wrap: break-word;">Looks like it's an alias for <font face="Menlo">-emit-object</font>:<div><br></div><div><a href="https://github.com/apple/swift/blob/master/include/swift/Option/Options.td#L576" target="_blank">https://github.com/apple/<wbr>swift/blob/master/include/<wbr>swift/Option/Options.td#L576</a></div><div><br></div><div>...which will give an object file as output rather than the default, an executable. </div><div><br></div><div>-Kyle<br><div><br><blockquote type="cite"><div>On Dec 5, 2017, at 1:49 AM, Atul Sowani via swift-users <<a href="mailto:swift-users@swift.org" target="_blank">swift-users@swift.org</a>> wrote:</div><br class="m_-2208320330942142784Apple-interchange-newline"><div><div dir="ltr"><div>Hi,</div><div><br></div><div>What is the purpose of "-frontend -c" arguments of swift? I tried "swift --help" but that does not mention it. Also I couldn't find it easily in any swift documents. Can somebody kindly let me know the purpose of these arguments?</div><div><br></div><div>Thanks,</div><div>Atul.</div></div>
______________________________<wbr>_________________<br>swift-users mailing list<br><a href="mailto:swift-users@swift.org" target="_blank">swift-users@swift.org</a><br><a href="https://lists.swift.org/mailman/listinfo/swift-users" target="_blank">https://lists.swift.org/<wbr>mailman/listinfo/swift-users</a><br></div></blockquote></div><br></div></div>______________________________<wbr>_________________<br>swift-users mailing list<br><a href="mailto:swift-users@swift.org" target="_blank">swift-users@swift.org</a><br><a href="https://lists.swift.org/mailman/listinfo/swift-users" target="_blank">https://lists.swift.org/<wbr>mailman/listinfo/swift-users</a><br></div></blockquote></div><br></div></div></div></blockquote></div><br></div>