Does anyone know how to send a text message to the 'No$GBA Debug Messages' Window in either C or Cpp?

I know that Martin has implemented a .msg command into his own assembler but I'm using DevkitPro / GNU.

Thanks in advance.

PT