Just do: ~/tmp $ touch ex.c ~/tmp $ LANG= gcc `pwd` -o ex.o -c ./ex.c gcc: /home/namsh/tmp: linker input file unused because linking not done cc1: /home/namsh/tmp: No such file or directory cc1: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions. Actually I should do: ~/tmp $ gcc -I/somewhere/includepath -o ex.o -c ./ex.c I forgot adding '-I'. gcc --version: gcc (GCC) 3.4.2 20040727 (prerelease)
*** This bug has been marked as a duplicate of 15259 ***