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: Jabran Bhatti <jabran dot tlv at gmail dot com>
- To: John Dallaway <john at dallaway dot org dot uk>
- Cc: eCos Discussion <ecos-discuss at sourceware dot org>
- Date: Tue, 10 Sep 2013 21:13:27 +0200
- 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>
Hi,
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.
As an alternative, would it be possible to compile the STL library
using the original source code along with the eCos application? Does
anyone have any experience with compilation of the STL library from
scratch?
2013/9/2 Jabran Bhatti <jabran.tlv@gmail.com>:
> Hi John,
>
> Thanks for your answer, I will see what I can do with the uSTL library
> and keep you posted.
>
> Regards,
>
> Jabran
>
> 2013/8/29 John Dallaway <john@dallaway.org.uk>:
>> Hi Jabran
>>
>> On 29/08/13 15:33, Jabran Bhatti wrote:
>>
>>> I'm looking to build a C++ application for eCos on an ARM processor.
>>> My program requires several standard C++ header files such as vector,
>>> iostream, list, ...
>>>
>>> My question is: how can I achieve this? Does anyone have any
>>> experience building and deploying C++ applications for eCos?
>>
>> Take a look at the eCos uSTL package which provides a size optimized
>> implementation of most aspects of the C++ STL. Ref:
>>
>> http://ecos.sourceware.org/docs-latest/ref/ustl-overview.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