Mail Archives: djgpp/1995/12/13/07:02:42
On Tue, 12 Dec 1995, Juergen Erhard wrote:
> I've got a problem with djgpp 1.12. It assumes (or gdb does) that
> the source files end in .cc, but mine all end in .cpp.
>
> Now I don't want to change all my files (the names). How do I get
> gdb to take the filename that is?
It's a bug in gcc. If you invoke it with -v, you will see that it calls
cc1plus with `-dumpbase file.cc' option (in your case, `file.cc' would be
replaced by the actual name of your source file). Until this bug is
corrected in future versions of gcc, if renaming files is unacceptable for
you, you can call cc1plus yourself with the same command line gcc prints
given -v, but with `-dumpbase file.cpp' option instead.
- Raw text -