[ECOS] Using C++ std streams (fstream, ofstream and ifstream) in eCos.

grinder213 mmj@triax.dk
Tue May 26 13:53:00 GMT 2009


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?

Best Regards


View this message in context: http://www.nabble.com/Using-C%2B%2B-std-streams-%28fstream%2C-ofstream-and-ifstream%29-in-eCos.-tp23723249p23723249.html
Sent from the Sourceware - ecos-discuss mailing list archive at Nabble.com.

Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

More information about the Ecos-discuss mailing list