This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: Using C++ std streams (fstream, ofstream and ifstream) in eCos.
- From: Gary Thomas <gary at mlbassoc dot com>
- To: grinder213 <mmj at triax dot dk>
- Cc: ecos-discuss at ecos dot sourceware dot org
- Date: Tue, 26 May 2009 11:16:01 -0600
- Subject: Re: [ECOS] Using C++ std streams (fstream, ofstream and ifstream) in eCos.
- References: <23723249.post@talk.nabble.com>
grinder213 wrote:
> Hi,
>
> I'm trying to use the file stream classes of the standard C++ library
> together with a mounted FAT file system on a SD card. I'm using the
> eCoscentric release of 2.98. on a ATMEL AT91SAM9260-EK.
> The regular BSD calls to the filesystem are working just fine! I use the
> same device paths and filenames in the two examples.
>
> When I try to use either the fstream, ofstream or ifstream, the code
> compiles with no problems, but the open calls (either directly or through
> the constructor) never succeeds.
>
> Is it possible to use the file stream classes the way I want to use them?
C++ stdlib is not supported in the public CVS. Check the
archives as some help may be available (Zylin has some code,
eCosCentric can provide a complete package, etc)
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss