[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Need help on how to port GAS
From: |
Nick Clifton |
Subject: |
Re: Need help on how to port GAS |
Date: |
31 May 2002 10:55:15 +0100 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) Emacs/21.1 |
Hi Peter, Magnus,
> We're two students at Mälardalens University in Sweden who are
> trying to port gas, ld & gdb to a new architecture.
You might wish to look at the CGEN project which allows a lot of the
owrk involved in generating the assembler, disassembler and simulator
to be done automatically:
http://sources.redhat.com/cgen/
> We would appreciate any additional information on how a port is done
> or if you know of people who have done a porting.
Most people work by examining the already existing ports and copying
what has been done before. So find a port of an architecture close to
your own and then look to see what was done for that port.
Cheers
Nick
PS. Don't forget to create a GAS testsuite for your port - it really
helps with debugging the assembler and disassembler.