[swift-users] what is the use of "-frontend" argument to swift?
jordan_rose at apple.com
Tue Dec 5 16:46:23 CST 2017
-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 docs/Driver.md <https://github.com/apple/swift/blob/master/docs/Driver.md>.
> On Dec 5, 2017, at 14:23, Kyle Murray via swift-users <swift-users at swift.org> wrote:
> Looks like it's an alias for -emit-object:
> https://github.com/apple/swift/blob/master/include/swift/Option/Options.td#L576 <https://github.com/apple/swift/blob/master/include/swift/Option/Options.td#L576>
> ...which will give an object file as output rather than the default, an executable.
>> On Dec 5, 2017, at 1:49 AM, Atul Sowani via swift-users <swift-users at swift.org <mailto:swift-users at swift.org>> wrote:
>> 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?
>> swift-users mailing list
>> swift-users at swift.org <mailto:swift-users at swift.org>
> swift-users mailing list
> swift-users at swift.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the swift-users