[Swift-user] Swift 0.95 RC6 on Windows
Mihael Hategan
hategan at mcs.anl.gov
Thu Jul 3 21:13:35 CDT 2014
Hi again,
There were two problems:
One was compiling swift on Windows (i.e. running "ant dist" in the swift
directory on a windows machine). This is now fixed, but should not
affect you if you are using a binary distribution.
The second was an out-of-date _swiftwrap.vbs. I fixed this also and
committed to SVN. You can either compile 0.95 from sources, or,
alternatively, remove the following lines from libexec/_swiftwrap.vbs:
expectArg("k")
KICKSTART=getOptArg()
Things should work after that.
Regarding the new config mechanism and sysinfo="INTEL32::WINDOWS", on a
cursory look at the code, it does not seem to be supported. You will
have to use the old mechanism (i.e. sites.xml) for now.
Mihael
On Thu, 2014-07-03 at 16:09 -0700, Mihael Hategan wrote:
> Hi Jonathan,
>
> We need to update the quick start guide. There is a missing bit if you
> are running on Windows. The details are here:
> http://swift-lang.org/guides/release-0.94/userguide/userguide.html#_running_on_windows
>
> That said, I don't think we routinely test swift on Windows, and I
> haven't maintained it, but I will give it a shot and see if it needs any
> fixes.
>
> Mihael
>
> On Thu, 2014-07-03 at 17:18 -0500, Jonathan Ozik wrote:
> > Hi all,
> >
> > I have two colleagues that are trying to run Swift 0.95 RC6 on Windows using the included swift.bat Windows script. They haven’t been successful yet. Trying the quickstart guide http://swift-lang.org/guides/quickstart.html and the hello.swift script under examples/swift/misc/ they see the following error:
> >
> > Swift 0.95 RC6 swift-r7900 cog-r3908
> > RunID: 20140703-1433-7iq5x697
> > Progress: Thu, 03 Jul 2014 14:33:49-0500
> >
> > Execution failed:
> > Exception in echo:
> > Arguments: [hi]
> > Host: localhost
> > Directory: hello-20140703-1433-7iq5x697/jobs/6/echo-6nydmzsl
> > exception @ swift-int.k, line: 530
> > Caused by: null
> > Caused by: java.io.IOException: Cannot run program "/bin/bash" (in directory "\var\tmp\hello-20140703-1433-7iq5x697"): CreateProcess error=267, The directory name is invalid
> > Caused by: java.io.IOException: CreateProcess error=267, The directory name is invalid
> >
> > Any thoughts on this?
> >
> > Jonathan
> > _______________________________________________
> > Swift-user mailing list
> > Swift-user at ci.uchicago.edu
> > https://lists.ci.uchicago.edu/cgi-bin/mailman/listinfo/swift-user
>
More information about the Swift-user
mailing list