Xref: news-dnh.mv.net comp.os.msdos.djgpp:1163 Path: news-dnh.mv.net!mv!news.sprintlink.net!howland.reston.ans.net!gatech!swrinde!tank.news.pipex.net!pipex!dish.news.pipex.net!pipex!sunic!sunic.sunet.se!news.uni-c.dk!dkuug!olicom!cto From: cto AT olicom DOT olicom DOT dk (Claus Toendering) Newsgroups: comp.os.msdos.djgpp Subject: C++ file extension problem Date: 26 Jul 95 09:10:43 GMT Organization: Olicom A/S Lines: 13 Nntp-Posting-Host: eolicom.olicom.dk To: djgpp AT sun DOT soe DOT clarkson DOT edu Dj-Gateway: from newsgroup comp.os.msdos.djgpp I have a C++ file named x.cpp. I compile the file thus: gcc -o x -v -g x.cpp The output shows that gcc invokes cc1plus.exe with the argument -dumpbase x.cc. This causes the debugger to believe that my source code is called x.cc rather than x.cpp, which again means that the debugger cannot find my source code. How do I make gcc invoke cc1plus with the correct file name?