crosscompiling chain?
#6
(01-15-2021, 10:17 AM)ryo Wrote:
(01-15-2021, 09:47 AM)treebuilder Wrote: 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?
yup.
You can however compile on your own PC and test on it.
Then compile on your phone as is.
You can't just compile x86 or x64 apps, and expect them to work on an ARM64 processor.
Same for the other way around.


(01-15-2021, 09:47 AM)treebuilder Wrote: While, again, I admit that building directly on the phone is technically within the realm of possibility, I find that rather unlikely.
Spoiler arert: I have a Pinephone, and I develop software.

Perhaps you misunderstood me or I wasn't being clear:  While I do not yet have a pinephone, I also develop software, or have in the past.  I have even developed for previous mobile platforms (see my original post).

I was not asking about compiling x86 or x64 apps directly.  I was asking about the appropriate crosscompiler toolchain and library sets for compiling apps that would run on the pinephone natively.  I thought I had made that clear, as that's the typical case with developers asking about crosscompiling.

Spoiler alert: I've been doing this for 30+ years.  I was just asking the community for some info, since the info on the ground is otherwise sparse.

Glad to see the OSS community hasn't deviated one iota from its stubborn, ascerbic self.  Stay classy.  Oh, and thanks for reminding me why I stopped contributing to projects.

(01-15-2021, 12:29 PM)kqlnut Wrote:
(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.
While I'm not a developer myself, I believe it's quite a common use case to cross-compile for an aarch64 host on x86_64 machines. There is even a page on the Pine64 wiki about it.


Thank you, kqlnut.  That information was exactly what I was looking for.  I have no idea why I couldn't find it on the wiki.

I'm grateful that there are a few people willing to answer a simple question with a simple answer, rather than bloviating.
  Reply


Messages In This Thread
crosscompiling chain? - by treebuilder - 01-11-2021, 11:47 AM
RE: crosscompiling chain? - by ryo - 01-15-2021, 08:30 AM
RE: crosscompiling chain? - by treebuilder - 01-15-2021, 09:47 AM
RE: crosscompiling chain? - by ryo - 01-15-2021, 10:17 AM
RE: crosscompiling chain? - by treebuilder - 01-15-2021, 02:56 PM
RE: crosscompiling chain? - by kqlnut - 01-15-2021, 12:29 PM
RE: crosscompiling chain? - by wibble - 01-19-2021, 08:36 AM
RE: crosscompiling chain? - by bitnick - 01-20-2021, 09:59 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)