Swift on RPi2

Raspberry Pi 2

Swift on RPi2

Postby SwiftyScreams » Fri Jan 08, 2016 5:42 am

Hello everyone, I would like to know if anyone has any use for Apple's Swift Programming Language on the RPi2.

I have it compiling now and its nearly complete, and I was wondering if I this would be essential enough to maybe submit information on how to do it as Google seems to not have any info on how.

Thanks for your input!

~~Compiling~~
CMark for Swift
LLVM for Swift
Clang for Swift
SwiftyScreams
 
Posts: 7
Joined: Fri Jan 08, 2016 5:39 am

Re: Swift on RPi2

Postby tpfkanep » Fri Jan 08, 2016 6:26 am

Just do it.
tpfkanep
 
Posts: 26
Joined: Sun Nov 09, 2014 10:03 am

Re: Swift on RPi2

Postby SwiftyScreams » Fri Jan 08, 2016 2:36 pm

Status update: My SD card fried, apparently to many writes/reads were going on. I'm going to attempt a cross compile and see how it goes.
SwiftyScreams
 
Posts: 7
Joined: Fri Jan 08, 2016 5:39 am

Re: Swift on RPi2

Postby moonman » Fri Jan 08, 2016 7:23 pm

or you can use usb storage (hdd/ssd) for compilation.
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3387
Joined: Sat Jan 15, 2011 3:36 am

Re: Swift on RPi2

Postby SwiftyScreams » Mon Jan 11, 2016 7:15 am

Thats what I'm doing now, I'm currently in the process of preparing a build environment so this garbage doesn't happen again.

I might further attempt a cross compile using OS X clang
SwiftyScreams
 
Posts: 7
Joined: Fri Jan 08, 2016 5:39 am

Re: Swift on RPi2

Postby SwiftyScreams » Mon Jan 11, 2016 9:19 am

~STATUS UPDATE~

After going through some compiler options and some build configurations I have decided to do a cross compile as Clang natively supports a Linux AND ARMv7 cross compile natively.

Ill update if I get a successful build going, and if I can add optimizations to the build.
SwiftyScreams
 
Posts: 7
Joined: Fri Jan 08, 2016 5:39 am


Return to Broadcom

Who is online

Users browsing this forum: No registered users and 8 guests