How to let GCC know of new targets?

Ian Lance Taylor iant@google.com
Wed Jan 21 01:45:00 GMT 2009


Navid Toosizadeh <navid_toosizadeh@yahoo.com> writes:

> I have a backend for my target processor (=dlx), all files (dlx.md,
> ...) are there. I already made a directory in src_gcc/gcc/config/dlx
> and put the machine description and other files there. I just want
> to know what is the proper way to add this backend to gcc so that
> gcc becomes aware of this new target and we can configure and make
> for the target?

Edit the top level config.sub file to recognize your CPU.

Edit gcc/config.gcc for your new target.

With luck you won't need to do anything else.

Ian



More information about the Gcc-help mailing list