Error_file

(Project Properties window)

*.prj\COMPILE\Listings\Error_file

--errors filename

The file is overwritten each time the project is recompiled.

For more information, see the documentation for your toolchain.