From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14817 invoked by alias); 11 Sep 2013 08:03:48 -0000 Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Received: (qmail 14808 invoked by uid 89); 11 Sep 2013 08:03:48 -0000 Received: from tetra.codeconfidence.com (HELO tetra.codeconfidence.com) (94.229.66.225) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 11 Sep 2013 08:03:48 +0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.1 required=5.0 tests=AWL,BAYES_00,KHOP_DYNAMIC,KHOP_THREADED,RCVD_IN_BRBL_LASTEXT,RCVD_IN_RP_RNBL,RCVD_IN_SORBS_DUL,RDNS_DYNAMIC autolearn=no version=3.3.2 X-HELO: tetra.codeconfidence.com Received: from cog.dallaway.org.uk (cpc1-cmbg10-0-0-cust34.5-4.cable.virginmedia.com [81.102.132.35]) by tetra.codeconfidence.com (Postfix) with ESMTP id 8960E234C009; Wed, 11 Sep 2013 09:03:44 +0100 (BST) Received: from cog.dallaway.org.uk (cog.dallaway.org.uk [127.0.0.1]) by cog.dallaway.org.uk (8.13.8/8.13.8) with ESMTP id r8B83iHk031021; Wed, 11 Sep 2013 09:03:44 +0100 Message-ID: <523023E0.1060603@dallaway.org.uk> Date: Wed, 11 Sep 2013 08:03:00 -0000 From: John Dallaway User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130807 Thunderbird/17.0.8 MIME-Version: 1.0 To: Jabran Bhatti CC: eCos Discussion References: <521F730F.1090306@dallaway.org.uk> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: [ECOS] Re: Building C++ application for eCos on ARM X-SW-Source: 2013-09/txt/msg00004.txt.bz2 Hi Jabran On 10/09/13 20:13, Jabran Bhatti wrote: > So I had a look at the uSTL package and it indeed incorporates most > C++ STL features. > The problem is, however, that I am using an external (open source) > library. That library has been built using STL, i.e., the header and > source files are filled with STL header file includes and namespace > 'std::' references. It is a rather complex task to adjust each of the > these files. You might consider a scripted global string substitution "std::" -> "ustl::" as part of your build system. Otherwise, I suggest you look at Erik Aagaard Knudsen's work on libstdc++ for eCos. Ref: http://ecos.sourceware.org/ml/ecos-discuss/2011-09/msg00023.html I hope this helps... John Dallaway eCos maintainer http://www.dallaway.org.uk/john -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss