ORC_developer wrote:
I wonder if there is any document about adding a new architecture-related option to gcc? I'm porting gcc to a new arch
It is generally done by modifying the gcc/config/arch/arch.opt file. http://gcc.gnu.org/onlinedocs/gccint/Options.html David Daney