01-15-2021, 09:47 AM
(01-15-2021, 08:30 AM)ryo Wrote: To answer it as simple as possible: there's no such a thing as a cross compiler for a Pinephone, you compile directly on the phone itself.
Install and enable SSH, download TAR packages, ./configure, make, sudo make install.
Or if you develop Linux apps, simply use whatever you've been using on PC Linux in the exact same way (gcc for ANSI C, g++ for C++ etc).
In case it sounds confusing, maybe this statement clears it up:
Android and iOS are consumer toys that require a PC in order develop and run your own apps on, and there's a huge walled garden for all other apps.
Pinephone and Librem 5 are technically full laptops in a phone form factor, so app development for those should be treated like app development for desktop and/or server.
While I understand and agree that's it's technically possible to compile directly on the phone, from a horsepower, time, storage space, and heat perspective, I would imagine that's neither the preferred nor recommended way of approaching things.
Are you suggesting that developers are not building to one of the the aarch64-* targets in GCC on a normal desktop, with the requisite libraries installed?
While, again, I admit that building directly on the phone is technically within the realm of possibility, I find that rather unlikely.