This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: compilation of *.i files does not go to temp files
- To: Joern Rennecke <amylaar at cygnus dot co dot uk>
- Subject: Re: compilation of *.i files does not go to temp files
- From: Zack Weinberg <zack at wolery dot cumb dot org>
- Date: Mon, 31 Jul 2000 12:11:22 -0700
- Cc: gcc-bugs at gcc dot gnu dot org, amylaar at pasanda dot cygnus dot co dot uk
- References: <200007261902.UAA32076@phal.cygnus.co.uk>
On Wed, Jul 26, 2000 at 08:02:15PM +0100, Joern Rennecke wrote:
> When I try to compile a *.i file, the cc1 output is not directed to the
> temp file, thus resulting in an object file with zero sized text sections.
> You can work around this with the --save-temps option, but that should
> not be required.
> AFAICS your patch to gcc.c on the 13th July caused this.
>
> phal:/x/egcs-regmove2-sh-elf/gcc$ ./xgcc -B./ -c tst.i -v
> Reading specs from ./specs
> gcc version 2.96 20000725 (experimental)
> ./cc1 tst.i -quiet -dumpbase tst.i -version
> GNU C version 2.96 20000725 (experimental) (sh-elf) compiled by GNU C version 2.7.2.3.
> ./as -o tst.o /tmp/ccFzhS6I.s
Should be corrected in the patch I just applied to gcc.c.
zw