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?
...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?
...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 <mailto: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 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!
Best regards,
Atul.
···
On Wed, Dec 6, 2017 at 4:16 AM, Jordan Rose <jordan_rose@apple.com> wrote:
...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?
From: swift-users-bounces@swift.org [mailto:swift-users-bounces@swift.org] On Behalf Of Atul Sowani via swift-users
Sent: Tuesday, December 5, 2017 11:10 PM
To: swift-users@swift.org
Subject: Re: [swift-users] what is the use of "-frontend" argument to swift?
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!
Best regards,
Atul.
On Wed, Dec 6, 2017 at 4:16 AM, Jordan Rose <jordan_rose@apple.com <mailto:jordan_rose@apple.com> > wrote:
On Dec 5, 2017, at 14:23, Kyle Murray via swift-users <swift-users@swift.org <mailto:swift-users@swift.org> > wrote:
Looks like it's an alias for -emit-object:
...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 <mailto: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?
Ah, got it. Sorry for being brusque—the question coming in on swift-users rather than swift-dev threw me off. If you need help with tests feel free to ask! (…but probably on swift-dev)
Jordan
···
On Dec 5, 2017, at 22:09, Atul Sowani via swift-users <swift-users@swift.org> wrote:
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!
Best regards,
Atul.
On Wed, Dec 6, 2017 at 4:16 AM, Jordan Rose <jordan_rose@apple.com <mailto:jordan_rose@apple.com>> wrote:
-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>\.
Jordan
On Dec 5, 2017, at 14:23, Kyle Murray via swift-users <swift-users@swift.org <mailto:swift-users@swift.org>> wrote:
...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 <mailto: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?