[svlug] newer arm bare metal toolchain on Debian
Ivan Sergio Borgonovo
mail at webthatworks.it
Tue May 24 03:36:45 PDT 2016
I'd like to test a newer gcc than the one provided by debian sid by
gcc-arm-none-eabi (4.9).
I've an issue with -flto that may have been fixed with a newer gcc
version, or at least that's what I could just infer since others are not
having the same issue.
I could happily live with the older compiler since there is a
workaround, but that implies modifying upstream code and since upstream
is not having my same issue and I haven't completely understood why,
upstream doesn't look it is going to accept a patch.
Up to my understanding I've these options available to get a newer arm
cross toolchain for bare metal:
- dpkg --add-architecture arm (not sure if this is ok for bare metal)
- install linaro (or arm or CodeSourcery...) prebuilt toolchain and let
them live in /usr/local but that seems to requires 32 bit libraries
In my experience both things are going to make a mess of my system.
Then there is this https://wiki.debian.org/CrossToolchains but seems for
linux development and not bare metal but it is messy.
So I was wondering if I got it right or there is another way.
This is not about if it can be done, this is about maintaining it in a
sensible way (I'd consider sensible putting pre-compiled stuff in
/usr/local in one go if I don't have to mess with the rest of my system
for dependency reasons).
thanks
--
Ivan Sergio Borgonovo
http://www.webthatworks.it
More information about the svlug
mailing list