delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/01/30/22:16:04

From: "Andrew Crabtree" <andrewc AT rosemail DOT rose DOT hp DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Debugging CPP with RHIDE
Date: Fri, 30 Jan 1998 15:11:20 -0800
Organization: Hewlett Packard
Lines: 16
Message-ID: <6atmna$eh1$1@rosenews.rose.hp.com>
References: <34d24c53 DOT 1146612 AT netnews DOT nyu DOT edu>
NNTP-Posting-Host: ros51675cra.rose.hp.com
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

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)

- Raw text -


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