This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Using C++ std streams (fstream, ofstream and ifstream) in eCos.


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]