This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: Building C++ application for eCos on ARM
- From: John Dallaway <john at dallaway dot org dot uk>
- To: Jabran Bhatti <jabran dot tlv at gmail dot com>
- Cc: eCos Discussion <ecos-discuss at sourceware dot org>
- Date: Wed, 11 Sep 2013 09:03:44 +0100
- Subject: Re: Building C++ application for eCos on ARM
- Authentication-results: sourceware.org; auth=none
- References: <CAGujVxb4VNzsgs9_pXJyJUMOnDaC9yPOxyvAoX9p8hx+g9Hhkw at mail dot gmail dot com> <521F730F dot 1090306 at dallaway dot org dot uk> <CAGujVxZ4Zo=WsjwEkpBJKg+CGV2YDBdK3fBegx=tsP3Gcyro5g at mail dot gmail dot com> <CAGujVxYHzkogwGCsNDvVa78LdP4M3UBBdn2-WRj9ZCFqoJxZkQ at mail dot gmail dot com>
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