Well there's the problem. It appears to be looking for the includes in /usr/local instead of /usr. Here's the output from your line of bash.
Code:
ignoring nonexistent directory "/usr/local/lib/gcc/powerpc-wrs-vxworks/4.8.0/../../../../powerpc-wrs-vxworks/include/c++/4.8.0"
ignoring nonexistent directory "/usr/local/lib/gcc/powerpc-wrs-vxworks/4.8.0/../../../../powerpc-wrs-vxworks/include/c++/4.8.0/powerpc-wrs-vxworks"
ignoring nonexistent directory "/usr/local/lib/gcc/powerpc-wrs-vxworks/4.8.0/../../../../powerpc-wrs-vxworks/include/c++/4.8.0/backward"
ignoring nonexistent directory "/usr/local/lib/gcc/powerpc-wrs-vxworks/4.8.0/../../../../powerpc-wrs-vxworks/sys-include"
ignoring nonexistent directory "/usr/local/lib/gcc/powerpc-wrs-vxworks/4.8.0/../../../../powerpc-wrs-vxworks/include"
#include "..." search starts here:
#include <...> search starts here:
/usr/local/lib/gcc/powerpc-wrs-vxworks/4.8.0/include
/usr/local/lib/gcc/powerpc-wrs-vxworks/4.8.0/include-fixed
End of search list.
This might be due to if finding things in /usr/local/lib that it shouldn't because of remnants of old installed-from-source toolchains. I'll try to get rid of breadcrumbs and report back.
EDIT: I think there's a bug in the wrs-headers-installer package. It doesn't actually remove a bunch of stuff, and I get a warning about the directory not being removed because its not empty. Here's the output.
Code:
mcoffin@mlc-debian-i7990x:~/Downloads$ sudo dpkg -P powerpc-wrs-vxworks-binutils powerpc-wrs-vxworks-gcc powerpc-wrs-vxworks-buildscripts wrs-headers-installer
(Reading database ... 120972 files and directories currently installed.)
Removing powerpc-wrs-vxworks-gcc ...
Purging configuration files for powerpc-wrs-vxworks-gcc ...
Removing powerpc-wrs-vxworks-buildscripts ...
dpkg: warning: while removing powerpc-wrs-vxworks-buildscripts, directory '/usr/powerpc-wrs-vxworks/share' not empty so not removed
Removing wrs-headers-installer ...
Purging configuration files for wrs-headers-installer ...
Removing powerpc-wrs-vxworks-binutils ...
dpkg: warning: while removing powerpc-wrs-vxworks-binutils, directory '/usr/powerpc-wrs-vxworks' not empty so not removed
Processing triggers for man-db ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place