On 12/29/2013 01:10 AM, Anders Hammarquist wrote: > Package: libnewlib-arm-none-eabi > Version: 2.0.0-1 > Severity: important > > Dear Maintainer, > > gcc-arm-none-eabi expects a /usr/lib/arm-none-eabi/include symlink > pointing to /usr/include/newlib if libnewlib-arm-none-eabi is to > be usable. I think the package ought to provide the symlink.
Hi Anders, the main idea of gcc-arm-none-eabi is to allow choose the C standard library that you want. With this in mind if you want to use newlib as C standard library in your project then you need to add the path pointing to newlib (the path that you mentioned above) in your list of include paths. For clarify you can do this in gcc with "-I/usr/include/newlib". I'm working to upload newlib-nano that is a fork of newlib project with some improvements for bare metal development. So you can choose the C standard library that best suits to your needs. And there are many other C standard libraries that you could choose. Cheers, -- TiN
signature.asc
Description: OpenPGP digital signature