delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/02/08/22:51:31

From: "Tanes Sriviroolchai" <Tanes DOT Sriviroolchai AT Thailand DOT NCR DOT COM>
Newsgroups: comp.os.msdos.djgpp
References: <200102062049 DOT PAA16815 AT delorie DOT com> <95u99e$13m9$1 AT news DOT itfs DOT nsk DOT su>
Subject: Re: REANNOUCE: DJGPP port of STLport 4.0
Date: Fri, 9 Feb 2001 10:22:23 +0700
Lines: 44
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
X-Original-NNTP-Posting-Host: 192.127.136.173
Message-ID: <3a8362f1@rpc1284.daytonoh.ncr.com>
X-Original-Trace: 8 Feb 2001 22:24:33 -0500, 192.127.136.173
NNTP-Posting-Host: ncrnews.daytonoh.ncr.com
X-Trace: 8 Feb 2001 22:44:45 -0500, ncrnews.daytonoh.ncr.com
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Michael,
    The current libstdc++ distributed with gcc 2.95.2 is not ISO C++
Standard compliant according to gcc homepage
(http://gcc.gnu.org/bugs.html#known). Implementation of STL included but not
in std:: namespace but in global namespace. I think you should try compare
its compile size with new libstdc++ v3. I think namespaces and many template
things come with some price. :) Anyway, there is no problem to use namespace
as long as you never have a problem with namespace clash, IMHO.

Regards,
Tanes Sriviroolchai

"Michael N. Filippov" <michael AT idisys DOT iae DOT nsk DOT su> wrote in message
news:95u99e$13m9$1 AT news DOT itfs DOT nsk DOT su...
> I'm very surprised looking at this library size (no __STL_DEBUG or so -
only
> release compilation). Example:
>
> my$ cat main.cpp
> #include <iostream>
>
> int main(void)
> {
>   std::cout << "Hello, world !" << std::endl;
>   return 0;
> }
>
> my$ gcc main.cpp -s -o main_std.exe -lstdcxx
> my$ gcc main.cpp -s -o
main_stlp.exe -I../../stlport -L../../lib -lstlp -lm
> my$ ls -la
> -rw-r--r--   1 dosuser  root          107 Feb  8 19:48 main.cpp
> -rwxr-xr-x   1 dosuser  root       150528 Feb  8 19:50 main_std.exe
> -rwxr-xr-x   1 dosuser  root       757248 Feb  8 19:51 main_stlp.exe
>
> Does this library offer a lot of new functionality comparing to the
> Hewlett-Packard version (standard in DJGPP distribution). I see that
> only locale (monerary, facets) and sstream functions are new.
> I would be very appreciated if somebody would explain why it is so big ?
>
> Sincerely,
> Michael


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019