how to write port

M.Khaja Mohideen kpmkhaja@hotmail.com
Tue Mar 19 07:29:00 GMT 2002


hello,
my project is to make some optimizations to an existing port of gcc for 
motorola hc12 . i have found out that i have to make some modifications in 
the files m68hc11.c , m68hc11.h and m68hc11.md .
but the problem is the definitions given in Gcc documentation about the 
Maschine descriptions and RTL definitions are not clear.

1 . i dont understand how the definitions given in the Maschine description 
documenation matches with those used in the m68h11.md files.
e.g. define_insn etc

2. then i dont understand how the compiler when it compiles the C program 
uses the files mentioned above if i for instance mentioned the target as 
-m68hc12 .


please give me some ideas to proceed i am stuck in this point now.

Best Regards
Khaja



_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com



More information about the Gcc mailing list