[swift-evolution] Is it possible to compile swift code to dynamic library ?

Derrick Ho wh1pch81n at gmail.com
Thu Feb 9 12:26:32 CST 2017


If you use the "swiftc" command it will create an executable. Maybe there
is a command in there to create linker files which you can offer to your c
project.

Any one on this threat super knowledgeable on the "swiftc" command?
On Thu, Feb 9, 2017 at 1:53 AM Zheng Ping via swift-evolution <
swift-evolution at swift.org> wrote:

>
> Compile swift code to dynamic library(a *.so file which is compatible with
> C), and let the *.so file can be linked directly by a pure C project.
>
> --
> with kind regards
> _______________________________________________
> swift-evolution mailing list
> swift-evolution at swift.org
> https://lists.swift.org/mailman/listinfo/swift-evolution
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20170209/ba0fd81f/attachment.html>


More information about the swift-evolution mailing list