How to add a new option to gcc

David Daney ddaney@caviumnetworks.com
Thu Oct 2 20:35:00 GMT 2008


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



More information about the Gcc-help mailing list