Hi Agustin,

In a message of Thu, 02 Jan 2014 20:45:32 -0300, Agustin Henze writes:
>> 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.
>
>          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".

Almost, you want to use -isystem, but I see your point. I still think
it would be better to set it up to work without special flags for gcc
(and use update-alternatives to allow selecting which of several
install libc's should be default), so it works out of the box. You
could also set up someplace to point gcc's -sysroot flag to select an
alternate libc.

/Anders


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to