Yi Tang wrote: > > I want to know how can I export the gcc compiler message into a text > file, or whether there exist some temp file for these messages? If you run the bash shell, you will want some of the information you could find via Google "bash redirect".