sara88
August 31st, 2010, 02:27 AM
I'm doing some development and require the intermediate .i files. They are the files that used to be generated after the preprocessor ran, but now gcc typically uses an internal preprocessor so I'm having issues generating them.
I'm working with gcc 3.4 and the Ubuntu 8.04 makefile.
I tried added the --save-temps flag to MAKEFLAGS, and I also just added -save-temps to HOSTCC, so gcc --save-temps would run on every invocation. This actually worked (.i and .s files were generated) but only for files in the first level of the directory hierarchy. So for example none were generated for the c files in net/core.
Any ideas are appreciated. Thanks.
I'm working with gcc 3.4 and the Ubuntu 8.04 makefile.
I tried added the --save-temps flag to MAKEFLAGS, and I also just added -save-temps to HOSTCC, so gcc --save-temps would run on every invocation. This actually worked (.i and .s files were generated) but only for files in the first level of the directory hierarchy. So for example none were generated for the c files in net/core.
Any ideas are appreciated. Thanks.