After installing libstc++-arm-none-eabi-newlib (4.8.2-16+1) I'm getting: fatal error: cstddef: No such file or directory
The reason is a mismatch between the compiler looking in /usr/lib/gcc/arm-none-eabi/4.8.2/../../../arm-none-eabi/include/c++/4.8.2 and that the libstc++ package installed the files in /usr/include/newlib/c++/4.8 That looks totally off but it is only 4.8 that should have been 4.8.2 For the curious among us. $ ls -l /usr/lib/gcc/arm-none-eabi/4.8.2/../../../arm-none-eabi/include lrwxrwxrwx 1 root root 43 Apr 21 22:54 /usr/lib/gcc/arm-none-eabi/4.8.2/../../../arm-none-eabi/include -> /etc/alternatives/gcc-arm-none-eabi-include $ ls -l /etc/alternatives/gcc-arm-none-eabi-include lrwxrwxrwx 1 root root 19 Apr 21 22:54 /etc/alternatives/gcc-arm-none-eabi-include -> /usr/include/newlib $ ls -l /usr/include/newlib/c++ total 4 drwxr-xr-x 12 root root 4096 Apr 27 22:17 4.8 As a quick workaround I created a symlink # ln -s 4.8 /usr/include/newlib/c++/4.8.2 Which of the two packages is configured incorrectly? gcc-arm-none-eabi or libstdc++-arm-none-eabi-newlib? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1293024 Title: package doesn't provide c++ library To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gcc-arm-none-eabi/+bug/1293024/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs