www.digitalmars.com         C & C++   DMDScript  

c++.stl.port - Building STLPort

reply Scott Meyers <usenet aristeia.com> writes:
I'm trying to install the DigitalMars compiler, by which I mean a build
system that will handle standard C++.  This involves installing STLPort.  I
downloaded the latest version, and step 4 is to find the appropriate
makefile.  There does not appear to be a makefile for DigitalMars.  Does
anybody have instructions on how to build/configure STLPort for use with
dmc under Windows?

Also, is there a reason I should not be annoyed that the dmc faq includes
material such as this,

  iostream is part of STLport. Do one of the following:

    * Add the following switch:
        -I\dm\stlport\stlport
      when compiling.

    * Add \dm\stlport\stlport to the INCLUDE environment variable search
      path before \dm\include.

   ...

   For more information, see \dm\stlport\readme.txt.

even though installing dmc yields no stlport subdirectory?

Thanks,

Scott
Mar 22 2004
parent reply Scott Meyers <usenet aristeia.com> writes:
Okay, I downloaded the special version of stlport for dm, but when I go to
the src directory and type

  make -fdm.mak

it tells me

  Error on line 69: bad syntax for implicit rule, should be .frm.to:

Sigh.  Suggestions?

In the meantime, I noticed this in the readme.txt file:

  To compile a program using STLport's <iostreams> with the static library:

	sc hello -I\dm\stlport\stlport

Color me confused.  What is sc and how does it differ from dmc?

Scott
Mar 22 2004
next sibling parent Arjan Knepper <arjan ask.me> writes:
Scott Meyers wrote:
 Okay, I downloaded the special version of stlport for dm, but when I go to
 the src directory and type
 
   make -fdm.mak
 
 it tells me
 
   Error on line 69: bad syntax for implicit rule, should be .frm.to:
 
 Sigh.  Suggestions?
 
 In the meantime, I noticed this in the readme.txt file:
 
   To compile a program using STLport's <iostreams> with the static library:
 
 	sc hello -I\dm\stlport\stlport
 
 Color me confused.  What is sc and how does it differ from dmc?
 
 Scott
 
see http://www.digitalmars.com/ctg/ctg.html
Mar 23 2004
prev sibling parent reply "Walter" <walter digitalmars.com> writes:
"Scott Meyers" <usenet aristeia.com> wrote in message
news:MPG.1ac9140990f8122a989681 news.digitalmars.com...
 Okay, I downloaded the special version of stlport for dm, but when I go to
 the src directory and type

   make -fdm.mak

 it tells me

   Error on line 69: bad syntax for implicit rule, should be .frm.to:

 Sigh.  Suggestions?
Yes. The makefile dm.mak is for smake, not make. To build: cd \dm\stlport\src\ smake -f dm.mak smake.exe is the more modern make program that comes with the DMC++ CD, make.exe is the older one I keep for compatibility with old makefiles. smake is pretty compatible with Microsoft's nmake.
 In the meantime, I noticed this in the readme.txt file:

   To compile a program using STLport's <iostreams> with the static
library:
 sc hello -I\dm\stlport\stlport

 Color me confused.  What is sc and how does it differ from dmc?
What happened was Microsoft, with XP, added a system command called 'sc' which mucked things up for DMC++. So, I created a dmc.exe using: copy sc.exe dmc.exe <g>. I'll change the \dm\stlport\readme.txt to reflect this. References: www.digitalmars.com/ctg/sc.html sc and dmc www.digitalmars.com/ctg/make.html make www.digitalmars.com/ctg/smake.html smake
Mar 23 2004
parent reply Tram <Tram_member pathlink.com> writes:
    www.digitalmars.com/ctg/smake.html        smake
Every option under the sun except a link to download it...
Jun 13 2006
parent Walter Bright <newshound digitalmars.com> writes:
Tram wrote:
    www.digitalmars.com/ctg/smake.html        smake
Every option under the sun except a link to download it...
smake comes as part of the Extended Utility Package: www.digitalmars.com/eup.html
Jun 13 2006