Score:0

GCC cross compiler - what are the "none", "elf", and how to know which version to download?

at flag

I usually get lost when I need to download a cross-compiler. I know it might be a broad subject, but I'd appreciate a few guidelines/tools so I know what I'm doing instead of guessing and hoping for the best.

https://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/gnu-a/downloads

For example, in the above link, there are so many sections and versions.

How do I choose which file to download and what is the meaning of each part of its name? Saying I'm using on VM which runs Linux OS 64. and I'm trying to build a module for a board running a SOC with ARM architecture, 32 bits.

What does it mean "none" or "elf" or "care-metal"? Also, there are xz and asc files - I always download xz files, so what are the asc files for?

waltinator avatar
it flag
The Gnu Compiler Collection comes with reams of documentation. Start by reading the files with upper case names (`README*`, `INSTALL*`, etc). You want a compiler package that will run on your current OS&Hardware, and that will generate loadable code for your target platform.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.