Mail Archives: djgpp/1998/01/31/03:16:37
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 -