rust-embedded / embedonomicon

How to bootstrap support for a no_std target
https://docs.rust-embedded.org/embedonomicon/
Apache License 2.0
208 stars 34 forks source link

gcc-arm-none-eabi Install instructions out of date for Ubuntu 18.04? #40

Open U007D opened 5 years ago

U007D commented 5 years ago

16.04 instructions did not work for me and some search results suggested this has changed for 18.04. Not sure if this is the best way now, but these instructions worked: #38

therealprof commented 5 years ago

Thanks for the report.

Where did you find the gcc install instructions? gcc is not really required anymore so if there're some leftovers we should clean them up.

Anyway, 18.04 should has the usual suspects available: https://packages.ubuntu.com/bionic/gcc-arm-none-eabi

U007D commented 5 years ago

I just tried to follow the 16.04 instructions here.

therealprof commented 5 years ago

But it doesn't say to install gcc on Ubuntu.

U007D commented 5 years ago

True--I used it to get gdb, but as you pointed out in the code review comment gdb-multiarch makes a lot more sense, I agree.

therealprof commented 5 years ago

As mentioned in #38 there might be still some usefulness to having a section explaining how to install a generic toolchain bundle from ARM. If you would be so kind to move the instructions to a new section and update the Ubuntu 18.04 for gdb-multiarch (probably after verifying that it actually works ;) ), that'd be really awesome.

U007D commented 5 years ago

Done. Please feel free to close this issue if the new edits are good to go.