Messed up gcc/build-essential - how to revert?

view full story

http://askubuntu.com – I have some strange problems regarding my build setup... acutally I am trying to compile #include <stdio.h> int main() { printf( "Hello World!\n" ); return 0; } by running gcc -o simple simple.c but this gives some errors. (First about cc1 not being found, after adding the path to $PATH i now get the error: "/usr/include/stdio.h:34:21: fatal error: stddef.h: No such file or directory"). Long text, short question: How to delete all related stuff and reconfigure everything? I tried "apt-get purge build-essential && apt-get install build-essential gcc g++" but thi (HowTos)