From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Lance Taylor To: 870357@ccl.itri.org.tw Cc: gas2@cygnus.com Subject: Re: How to porting gas Date: Thu, 05 Nov 1998 09:18:00 -0000 Message-id: <199811051717.MAA03428@subrogation.cygnus.com> References: <01BE08B1.E4E85EA0@pc092178.ccl.itri.org.tw> X-SW-Source: 1998/msg00243.html From: Anton Huang <870357@ccl.itri.org.tw> Date: Thu, 5 Nov 1998 11:46:14 +0800 I am now study how to porting GNU-as to a new architecture. And I also know the following: The only one thing to modify that porting gas is tc-$machine.c , tc-$machine.h , $machine.h i.e. x86 system, the file are tc-i386.c, tc-i386.h and i386.h There are something trouble me. If I want to porting, how to modify the file list above? i.e. Assume the machine I want to port is xxx, hence the file I need to create is tc-xxx.c tc-xxx.h and xxx.h. However what and how do I put in this file? In additions, what the guts (format) of these machine dependent file? First read gas/doc/internals.texi. Then see if you have any more specific questions. Ian