From owner-freebsd-questions Sun Feb 22 00:56:54 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA06858 for freebsd-questions-outgoing; Sun, 22 Feb 1998 00:56:54 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from oznet02.ozemail.com.au (oznet02.ozemail.com.au [203.2.192.124]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id AAA06853 for ; Sun, 22 Feb 1998 00:56:48 -0800 (PST) (envelope-from rlyon@ozemail.com.au) Received: from rlyon ([203.108.205.121]) by oznet02.ozemail.com.au (8.8.4/8.6.12) with SMTP id TAA10677 for ; Sun, 22 Feb 1998 19:56:44 +1100 (EST) From: "Richard Lyon" To: "'freebsd-questions@freebsd.org'" Subject: stdc++ Date: Sun, 22 Feb 1998 20:56:05 +1100 Message-ID: <01bd3f78$16fc97c0$79cd6ccb@rlyon> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.71.1712.3 X-MimeOLE: Produced By Microsoft MimeOLE V4.71.1712.3 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, I have a few problems with the gnu stdc++ implementation in FBSD V2.2.5. Problem 1. The compilation speed of gcc seems to be very slow when I inlude templates from stdc++. The application so far is only a few hundred line long, but it takes at least 5 minutes to compile. Normally gcc is very quick. The resulting application is also much larger than I would expect. (about 250K). The application run speed is not slow, but it is not what I expect based on previous experience with FBSD on my machine. Problem 2 The gnu stdc++ implementation does seem to be missing quite a few things. The omission hurting most now is no mem_fun_ref. I can work around this by writing my own looping with iterators, but it rather defeats the point of the library. There are other omission like correct name spaces. I notice there are a number of STL implementations such as the SGI one. Has anyone tried porting this to FBSD and are they any better? Is gcc 2.7.x really up to it? I notice that visual c 5 seems to have a fairly complete implementation of stdc++, so I will continue development using NT. At some point I do need to run this code using gnu under FBSD as that is my first target platform. Regards Richard ....... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message