Re: [swift-users] Statically linked binaries on linux

2016-09-02 Thread Joel Hughes via swift-users
Hello again, I've been attempting add to the swift-build script so that Foundation can be compiled as a static lib. Simialr to > swift/utils/build-script -r --build-swift-static-stdlib --foundation I'm not familiar with Cmake, ninja and the way the swift is built but have got the build working.

[swift-users] Statically linked binaries on linux

2016-09-01 Thread Joel Hughes via swift-users
Hi, I'm attempting to get a statically linked binary and am running into errors. I'm using Swift 3 Preview 6 on Ubuntu. Regular _swift build_ and _swift test_ are all running fine. I can produce a static binary for a simple "hello world" using: swift build -c release -Xswiftc -static-stdlib (

[swift-users] Updating the swift.org examples

2016-08-18 Thread Joel Hughes via swift-users
Morning all, I've just upgraded to Swift 3 Preview 6 for Ubuntu and have noticed a few changes. First using XCTest: "the name of a test module has no ‘Tests’ suffix" - easy to follow the error message, good stuff! And also reading command line args: Process.arguments Now available at: ProcessI