This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
How to save intermediate files (pre-processing files: *.i ) while compiling gcc from source
- From: David Yang <abiao dot yang at gmail dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Wed, 30 Oct 2013 01:14:38 +0000
- Subject: How to save intermediate files (pre-processing files: *.i ) while compiling gcc from source
- Authentication-results: sourceware.org; auth=none
Hi,
Is there possible to save intermediate files while compiling gcc from source?
for compiling the gcc 3.4.0 source code. I can get some pre-processing
files (the *.i files) while using the follwoing command:
./configure && make CC="gcc --save-temps" -i
but this does not work for gcc 4.x.x version. Do i need to edit the makefile?
Thank you very much and looking forward to hearing from you.
Best regards,
-David