public inbox for gas2@sourceware.org
 help / color / mirror / Atom feed
* How to porting gas
@ 1998-11-04 19:48 Anton Huang
  1998-11-05  9:18 ` Ian Lance Taylor
  0 siblings, 1 reply; 2+ messages in thread
From: Anton Huang @ 1998-11-04 19:48 UTC (permalink / raw)
  To: 'gas2@cygnus.com'

Dear:
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?


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: How to porting gas
  1998-11-04 19:48 How to porting gas Anton Huang
@ 1998-11-05  9:18 ` Ian Lance Taylor
  0 siblings, 0 replies; 2+ messages in thread
From: Ian Lance Taylor @ 1998-11-05  9:18 UTC (permalink / raw)
  To: 870357; +Cc: gas2

   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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1998-11-05  9:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-11-04 19:48 How to porting gas Anton Huang
1998-11-05  9:18 ` Ian Lance Taylor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).