This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: compiler errors


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]