Bug#733674: libnewlib-arm-none-eabi: missing symlink causes arm-none-eabi-gcc to fail
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
Bug#733674: libnewlib-arm-none-eabi: missing symlink causes arm-none-eabi-gcc to fail
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
Bug#733674: libnewlib-arm-none-eabi: missing symlink causes arm-none-eabi-gcc to fail
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. /Anders -- System Information: Debian Release: jessie/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (x86_64) Foreign Architectures: amd64 Kernel: Linux 3.10.9 (SMP w/2 CPU cores) Locale: LANG=sv_SE.UTF-8, LC_CTYPE=sv_SE.utf-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages libnewlib-arm-none-eabi depends on: ii libnewlib-dev 2.0.0-1 Versions of packages libnewlib-arm-none-eabi recommends: ii gcc-arm-none-eabi 4.8.2-5+4 Versions of packages libnewlib-arm-none-eabi suggests: pn libnewlib-doc none -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org