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. 

-Kyle

> On Dec 5, 2017, at 1:49 AM, Atul Sowani via swift-users 
> <swift-users@swift.org> wrote:
> 
> Hi,
> 
> 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?
> 
> Thanks,
> Atul.
> _______________________________________________
> swift-users mailing list
> swift-users@swift.org
> https://lists.swift.org/mailman/listinfo/swift-users

_______________________________________________
swift-users mailing list
swift-users@swift.org
https://lists.swift.org/mailman/listinfo/swift-users

Reply via email to