Questions tagged [swift]

Swift is a general-purpose, open-source programming language developed by Apple Inc. for their platforms and Linux. Use this tag for questions concerning its use on Unix-style systems, including its toolchain. For more general questions about Swift, ask on Stack Overflow instead.

Swift is a general-purpose, open-source programming language developed by Apple Inc. for their platforms and Linux.

See also the tag on Stack Overflow.

6 questions
4
votes
0 answers

How to Run ld in Script with A Smaller Memory Footprint?

I'm trying to build Swift 3 on FreeBSD. The last thing I need to do is run the build-script. My problem is that at some point the script runs: Linking CXX executable bin/llvm-lto Which consistently kills my system by using all of its 16GB memory…
Brandon Bradley
  • 339
  • 3
  • 9
3
votes
1 answer

Which Swift features are available on Linux (CoreData, linking to C code)?

I am interested in writing Swift code on Linux. Now I know I can install Swift on Linux, that's great. Does the Linux installation of Swift also include CoreData? That would be terrific. Also, is it possible to compile C code and link it to Swift…
2
votes
1 answer

How to setup swift in Ubuntu 18.10?

I like to try swift in combination with Eclipse + Tifig. I tried several ways: snap: snap install swift swift 4.0.3 from luis.nando (lf-araujo) installed swift /snap/swift/5/bin/swift: error while loading shared libraries: libatomic.so.1: wrong ELF…
1
vote
1 answer

How to Resolve "error while loading shared libraries: libpython3.7m.so.1.0: cannot open shared object file: No such file or directory" on Ubuntu 20.04

I installed Swift for Ubuntu using the latest toolchain available. At the time of writing, that version is 5.4.3. I downloaded it from https://swift.org/download/#releases I installed many dependencies including python3 and python-dev-is-python3 as…
Ilias Karim
  • 192
  • 1
  • 1
  • 7
1
vote
0 answers

posix_spawn and sharing filedescriptors

I'm toying around with a side project where I want to have multiple processes share the same listening socket. In the linux documentation I read that posix_spawn will retain the filedescriptors so it should work perfectly; but I'm unsure on how this…
1
vote
0 answers

Build Mongo C Driver 1.13.0 on Ubuntu Raspberry Pi

Operating System: Ubuntu 18.04.4 LTS Kernel: Linux 5.3.0-1018-raspi2 Architecture: arm64 I'm trying to build libmongoc 1.13.0 from source. I'm building this on a Raspberry Pi 4 running Ubuntu 18.04.4. running For context, my eventual goal is to…