alire-project / alire

Command-line tool from the Alire project and supporting library
GNU General Public License v3.0
284 stars 49 forks source link

Remove cross-compilers from assistant #1211

Closed mosteo closed 8 months ago

mosteo commented 2 years ago

Since cross-compiling crates usually include the dependency on the necessary x-compiler, we can reduce confusion to first-time users if only native compilers are listed.

RREE commented 2 years ago

Perhaps it might be useful to have an option that also lists the cross-compilers (e.g. --list-x). I got used to run alr toolchain --select to see which compilers and cross-compilers are available, select the newest AVR or ARM compilers and run it again to set the default compiler back to the native compiler.

Fabien-Chouteau commented 2 years ago

You can use alr search gnat_ instead ;)

mosteo commented 8 months ago

alr defaults to the native toolchain in the interactive assistant, and just offers to confirm the native toolchain on first run without showing the whole list. I don't think we need to do more on this front right now.