What happens to the printf statements on a cross compiler for embedded devices?
Depends completely on how the libraries are set up. They may be output via SCI, they may be silently swallowed, they may even cause an undefined reference error on link.