On Fri, Jun 5, 2009 at 11:11 PM, Graham Reitz<grahamre...@gmail.com> wrote: > > Is there a machine description template in the gcc file source tree?
There is no template as such but you could look at existing ports for the basic templates. Google should give you results for previous questions on this list regarding new ports. There are some links to other documents about starting new ports in the gcc wiki under the tutorials and documentation section. > > If there is also template for the 'C header file of macro definitions' that > would be good to know too. Most of the header files in the config/<machinename>/*.h have a description of the target macros and some values in them. You should be able to find something there though the best description should be read from the internals documents . > > I did a file search for '.md' and there are tons of examples. Although, I > was curious if there was a generic template. Sadly you'd have to keep them in sync with every version of gcc and no one has thought of maintaining something like that. Best of luck - HTH Ramana > > graham >