Re: makefile to get iostream.h, etc

2002-06-28 Thread Brian Nelson
"Paul Scott,,," <[EMAIL PROTECTED]> writes: > Paul Scott,,, wrote: > >> Colin Watson wrote: >> >>> On Fri, Jun 28, 2002 at 01:45:41AM -0700, Paul Scott,,, wrote: >>> >>> I would guess that naming C++ source files foo.c doesn't help. Try >>> foo.cpp instead, and then make's default rules will be mo

Re: makefile to get iostream.h, etc

2002-06-28 Thread Brian Nelson
"Paul Scott,,," <[EMAIL PROTECTED]> writes: > Hi, > > I have been working on a program to recover some data from a broken ext2 > partition. I have been using streaming objects. > > When I compile with g++ with no options the header files iostream.h and > fstream.h are found just fine. > > I am no

Re: makefile to get iostream.h, etc

2002-06-28 Thread Paul Scott,,,
Paul Scott,,, wrote: Colin Watson wrote: On Fri, Jun 28, 2002 at 01:45:41AM -0700, Paul Scott,,, wrote: I would guess that naming C++ source files foo.c doesn't help. Try foo.cpp instead, and then make's default rules will be more useful to you. Silly me. That makes sense. I'll let you

Re: makefile to get iostream.h, etc

2002-06-28 Thread Paul Scott,,,
Colin Watson wrote: On Fri, Jun 28, 2002 at 01:45:41AM -0700, Paul Scott,,, wrote: [...] make: *** [fixext2fs.o] Error 1 How do I tell the makefile how to find these? You shouldn't have to do so explicitly. What does your makefile look like? I would guess that naming C++ source file

Re: makefile to get iostream.h, etc

2002-06-28 Thread Colin Watson
On Fri, Jun 28, 2002 at 01:45:41AM -0700, Paul Scott,,, wrote: > I have been working on a program to recover some data from a broken ext2 > partition. I have been using streaming objects. > > When I compile with g++ with no options the header files iostream.h and > fstream.h are found just fine