I just upgraded to El Capitan and found out that the C compiler (Clang) is not working under the command line. I wrote a "hello word" test, tried to compile and I get the following error:
$ cc test.c -o test
$ error: unable to open output file
'/var/folders/Ge/GeRStfi8Ek8jojLcqf1vsE+++TI/-Tmp-/test-ad7039.o': 'No
such file or directory'
1 error generated.
... do I have a permission problems somewhere? Thanks!