The default MSL configuration for Power Architecture processors provides the stdout , stderr , and stdin file streams through serial I/O on most evaluation boards. The C++ standard library assigns cin , cout , and cerr to the target board's serial port. Also, I/O functions that refer to the standard streams implicitly, such as printf() , are available.
This configuration does not provide disk I/O, so functions such as fprintf() are not available.
To use the MSL console I/O functions, you must include a special serial I/O library in your project. Your hardware must be initialized properly to work with this library.