Build swift from the source


(inbox only) #1

I have a 2 questions:
1. How do I build swift from the source ?
2. How do I do the path thingie so I can run executable from the terminal
using just "swift" ?


(Mish Awadah) #2

I have a 2 questions:
1. How do I build swift from the source ?

The answer to this is in the README (https://github.com/apple/swift)

2. How do I do the path thingie so I can run executable from the terminal using just "swift” ?

The answer to this is in the Download guide (https://swift.org/download/#linux)

specifically:

Add the Swift toolchain to your path as follows:

$ export PATH=/path/to/usr/bin:"${PATH}"
You can now execute the swift command to run the REPL or build Swift projects.

- mish

···

On Dec 7, 2015, at 11:26 AM, inbox only via swift-users <swift-users@swift.org> wrote:

_______________________________________________
swift-users mailing list
swift-users@swift.org
https://lists.swift.org/mailman/listinfo/swift-users


(inbox only) #3

1.I've build swift couple of time and I've thought that I did it wrong
because I couldn't find the executables.
2.Know I've just understanded how dumb can I be.I've run that command but
I've never thought that I need to change it.I think someone should explain
that for dummies like me.
Couple of facepalms :[/
Thank you.