Hi I have a few versions of gcc and g++ on my Ubuntu 16.04 which i select with alternative config. When compiling a very simple source the compiler can't find the headers.(stddef.h: No such file or directory)
Upon investigation the gcc installations don't have a full directory, for example:
usr/lib/gcc/x86_64-linux-gnu/4.8 has an include directory with cc1.exe
whilst:
usr/lib/gcc/x86_64-linux-gnu/4.7 had no include directory and no cc1.exe (just a cc1plus.exe)
I have re-installed 4.7 but can't seem to get it to be a complete installation ,any help?
Thanks
Emma