I\'m performing some source processing between C preprocessing and C compilation. At the moment I:
gcc -E file.c > preprocessed_file.c
Looks like a typo in the GCC docs - try '-x cpp-output' instead.
gcc -E helloworld.c > cppout gcc -x cpp-output cppout -o hw ./hw Hello, world!