[swift-dev] Building SwiftPM with Foundation
bouke at haarsma.eu
Thu May 5 04:04:30 CDT 2016
For SwiftPM, I'm looking to replace some POSIX calls with Foundation. NSTask
and NSFileManager amongst others. I've created a few PRs already for this, see
. However before these can be merged, the build scripts need to be adjusted
to allow SwiftPM to build against Foundation.
There has already been some pointers posted in the comments on one of
see . I tried to implement those, see my changes to the swift
 and the "fake toolchain" in SwiftPM in . However SwiftPM builds stage1;
stage2 is still failing. I don't know how to proceed; I've only scratched the
surface regarding build systems and the many tools used to build the various
swift parts. I would really love some help going forward.
$ swift/utils/build-script -R --swiftpm
--- bootstrap: note: building self-hosted 'swift-build': env
-Xlinker -rpath -Xlinker $ORIGIN/../lib/swift/linux -Xlinker -L
-Xlinker -rpath -Xlinker
error while loading shared libraries: libFoundation.so: cannot open
shared object file: No such file or directory
--- bootstrap: error: build failed with exit status 127
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the swift-dev