tpoechtrager / cctools-port

Apple cctools port for Linux and *BSD
730 stars 168 forks source link

Could cctools-port be used to cross-compile R for iOS? #128

Open SugarRayLua opened 1 year ago

SugarRayLua commented 1 year ago

Hello.

I am a novice linux user/programmer who would like to run the R statistical language natively on my iPad. As far as I can tell, no one has successfully cross-compiled R for iOS (one developer on the App Store has tried: "R Analyst" but the app is unable to perform many R functions). Yet, R successfully compiles on Mac OSX. I came across the cctool-port on github and was wondering if it might be able to help me cross-compile R for iOS. If so, I'm willing to learn/try cross-compiling to iOS on Linux (or via terminal on my MacOS) and would appreciate any additional tips beyond the instructions provided in the README.

Thanks and Happy Holidays!

shepherdjerred commented 1 year ago

Hello! I think you would be more interested in the osxcross project. It is likely possible to compile R for iOS, but I doubt that it'll be easy unless you have a solid understanding of the compilation process and linux compilation tools.

I would suggest looking into something like GitHub Codespaces or similar. It would be a lot less work and yield a similar result.

SugarRayLua commented 1 year ago

Thank you very much, @shepherdjerred, I'll check out those suggestions!

Have a good week :-)