This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: compiler errors
- From: Zane Dodson <zdodson at zdodson dot com>
- To: help-gcc at prep dot ai dot mit dot edu
- Cc: Agw47 at aol dot com
- Date: Mon, 29 Apr 2002 15:51:20 -0500
- Subject: Re: compiler errors
- References: <1a1.176e25b.29ff01c3@aol.com>
On Mon, Apr 29, 2002 at 04:06:27PM -0400, Agw47@aol.com wrote:
| including all the includes? how can i produce a listing so i can find the
| errors?
Try the `-save-temps' flag. See gcc(1) (excerpt below).
-save-temps
Store the usual "temporary" intermediate files per
manently; place them in the current directory and
name them based on the source file. Thus, compil
ing `foo.c' with `-c -save-temps' would produce
files `foo.cpp' and `foo.s', as well as `foo.o'.
Best regards,
--
Zane Dodson
zdodson@zdodson.com