Topic: Standard C++ Library on SUN


Author: XuYifeng <wj@public.hz.zj.cn>
Date: 1998/07/02
Raw View
You can reach Metabyte at http://corp.metabyte.com/~fbp/stl/index.html,
SGI generated a new version of STL, however STLport does not follow up
at present.

Bruce Stephens wrote:

> ivano <ivano@starway.tm.fr> writes:
>
> >    I was surprised when I tryed to compile my C++ application on
> >    the SUN workstation using their lats C++ compiler 4.2
> >
> >    They dont have the Standard C++ Library
> >
> >    So, now im in the trouble to porting my C++ application
> >    heavily based on the STL...
>
> There's a pretty portable version of the HP/SGI STL called STLport.  I
> think it's here <URL:http://www.metabyte.com/~fbp/stl/>, but the site
> seems to be unavailable.
>
> It may not provide what you need (string is absent, although rope
> probably provides a workable alternative), but it works with Sun's
> WorkShop C++ version 4.2.
>
> Presumably RogueWave could offer an STL too (given that their non-STL
> library is provided with the compiler suite).

[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu    ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://reality.sgi.com/austern_mti/std-c++/faq.html              ]






Author: "Martijn Lievaart" <invalid@against.spam>
Date: 1998/07/02
Raw View
ivano wrote in message <35964D6D.87C68D47@starway.tm.fr>...
>Hi folks,
>
>   I was surprised when I tryed to compile my C++ application on
>   the SUN workstation using their lats C++ compiler 4.2
>
>   They dont have the Standard C++ Library
>
>   So, now im in the trouble to porting my C++ application
>   heavily based on the STL...
>
>   My application work already on DEC(C++ 5.6) on HP(aCC) and
>   on LINUX(egcs 1.0.2)...
>
>   On that systems I just used the libraries coming with the
>   compilers..
>
>   Any sugestion? ( I cannot use the GCC compiler on SUN because
>   of the project maganer decision..)

We use the ObjectSpace STL. I find their support to be pretty good. It is
also pretty portable.

One minor detail, we adopted to use <ospace/std/some-header> instead of
<some-header> for all STL headers, so not to confuse the MSVC. This can be
done more elegantly, but this way we find all references to STL stuff with a
single grep, wich is important to us as long as the portability issues are
not all resolved.

Hope this helps,
Martijn

--
#include <stddisclaimer.h>
My reply adress is invalid (anti-spam-measure),
reply to mlievaar at orion in nl
---
[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu    ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://reality.sgi.com/austern_mti/std-c++/faq.html              ]





Author: Bruce Stephens <bruce@cenderis.demon.co.uk>
Date: 1998/06/28
Raw View
ivano <ivano@starway.tm.fr> writes:

>    I was surprised when I tryed to compile my C++ application on
>    the SUN workstation using their lats C++ compiler 4.2
>
>    They dont have the Standard C++ Library
>
>    So, now im in the trouble to porting my C++ application
>    heavily based on the STL...

There's a pretty portable version of the HP/SGI STL called STLport.  I
think it's here <URL:http://www.metabyte.com/~fbp/stl/>, but the site
seems to be unavailable.

It may not provide what you need (string is absent, although rope
probably provides a workable alternative), but it works with Sun's
WorkShop C++ version 4.2.

Presumably RogueWave could offer an STL too (given that their non-STL
library is provided with the compiler suite).
---
[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu    ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://reality.sgi.com/austern_mti/std-c++/faq.html              ]





Author: ncm@nospam.cantrip.org (Nathan Myers)
Date: 1998/06/28
Raw View
ivano <ivano@starway.tm.fr> wrote:
>
>   I was surprised when I tryed to compile my C++ application on
>   the SUN workstation using their last C++ compiler 4.2
>   They dont have the Standard C++ Library ...
>   Any suggestion? ( I cannot use the GCC compiler on SUN because
>   of the project manager decision..)

There are other vendors of C++ compilers for Sun.  Check out
Apogee, or Kuck & Associates.  You can get an STL directly from
SGI.

An alternative is to obtain Boris Fomitchev's [sp?] adaptation
of the SGI STL, that works with Sun's compiler.

Or get a better project manager...

--
Nathan Myers
ncm@nospam.cantrip.org  http://www.cantrip.org/
---
[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu    ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://reality.sgi.com/austern_mti/std-c++/faq.html              ]





Author: "P.J. Plauger" <pjp@dinkumware.com>
Date: 1998/06/29
Raw View
Nathan Myers <ncm@nospam.cantrip.org> wrote in article <6n64rg$heq$1@shell7.ba.best.com>...
> ivano <ivano@starway.tm.fr> wrote:
> >
> >   I was surprised when I tryed to compile my C++ application on
> >   the SUN workstation using their last C++ compiler 4.2
> >   They dont have the Standard C++ Library ...
> >   Any suggestion? ( I cannot use the GCC compiler on SUN because
> >   of the project manager decision..)
>
> There are other vendors of C++ compilers for Sun....

Indeed. You can get the Dinkum C++ Library with the EDG front end --
a combination that yields a remarkably full implementation of Standard
C++ -- by licensing the native Sun compiler from Green Hills Software.

They'll even license you EC++ for that platform...

P.J. Plauger
Dinkumware, Ltd.
http://www.dinkumware.com
---
[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu    ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://reality.sgi.com/austern_mti/std-c++/faq.html              ]





Author: ivano <ivano@starway.tm.fr>
Date: 1998/06/28
Raw View
Hi folks,

   I was surprised when I tryed to compile my C++ application on
   the SUN workstation using their lats C++ compiler 4.2

   They dont have the Standard C++ Library

   So, now im in the trouble to porting my C++ application
   heavily based on the STL...

   My application work already on DEC(C++ 5.6) on HP(aCC) and
   on LINUX(egcs 1.0.2)...

   On that systems I just used the libraries coming with the
   compilers..

   Any sugestion? ( I cannot use the GCC compiler on SUN because
   of the project maganer decision..)
---
[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu    ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://reality.sgi.com/austern_mti/std-c++/faq.html              ]