delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/01/31/03:16:37

Date: Fri, 30 Jan 1998 22:40:11 -0800 (PST)
Message-Id: <199801310640.WAA09882@adit.ap.net>
Mime-Version: 1.0
To: "Andrew Crabtree" <andrewc AT rosemail DOT rose DOT hp DOT com>, djgpp AT delorie DOT com
From: Nate Eldredge <eldredge AT ap DOT net>
Subject: Re: Debugging CPP with RHIDE

At 03:11  1/30/1998 -0800, Andrew Crabtree wrote:
>
>Ryuji Yokoyama wrote in message <34d24c53 DOT 1146612 AT netnews DOT nyu DOT edu>...
>> C++ code  "Could not find the source file rec.cc" (rec.cpp is the name of
>my source file)
>There is a bug in the version of gcc that you are using.  When it outputs a
>file directive
>to the assembler, it just takes the base name of the file and then appends
>cc to it if it is
>compiling as c++.
>
>Solutions
>
>1) Rename your files to use the .cc extension.
>2) Download a patched version of gcc that doesn't have this c++ bug (I think
>that SET has one available on his home page but I'm not 100% sure)
You can also patch your `specs' file to treat `.cpp' specially (and
correctly). Robert Hoehne posted this some time back, I can e-mail the patch
if necessary.

Nate Eldredge
eldredge AT ap DOT net



- Raw text -


  webmaster     delorie software   privacy  
  Copyright 2019   by DJ Delorie     Updated Jul 2019