www.digitalmars.com         C & C++   DMDScript  

D - [OpenBSD] remakeing phobos

reply Andrew <Andrew_member pathlink.com> writes:
I've coppied the contents of linux.mak to Makefile and removed all ^M characters
at the end of the lines. After issueing the make command, I get the following:

gamba:phobos {120} make
g++ -c -O .cpp.cpp
g++: .cpp.cpp: No such file or directory
g++: No input files
*** Error code 1

Stop in /home/andrew/dmd/src/phobos (line 26 of Makefile).

Is there something I'm missing?

TIA,
Andrew

If at first you don't succeed, try again!
Mar 11 2004
parent Alex Fitzpatrick <alex.nospam.fitzpatrick videotron.nospam.ca> writes:
Andrew wrote:
 I've coppied the contents of linux.mak to Makefile and removed all ^M
characters
 at the end of the lines. After issueing the make command, I get the following:
 
 gamba:phobos {120} make
 g++ -c -O .cpp.cpp
 g++: .cpp.cpp: No such file or directory
 g++: No input files
 *** Error code 1
 
 Stop in /home/andrew/dmd/src/phobos (line 26 of Makefile).
 
 Is there something I'm missing?
 
Bearing in mind that I haven't touched BSD since '96... IIRC, you will be using BSD make, while under linux the default is gnumake, and the grammer is slightly different. (SunOS 4.X suffered the same problem if I recall...) You could try using gmake on the command line, assuming you have it installed. If not you should be able to get the source tarball and go through the ./configure make all make install mantra. -- Alex
Mar 11 2004