This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Designing a new cross compiler?
- From: spr03 at uow dot edu dot au
- To: gcc-help at gcc dot gnu dot org
- Date: Tue, 6 May 2003 21:41:07 +1000
- Subject: Designing a new cross compiler?
Hi,
I'm trying to design a new cross compiler for the Intel
80196KC microprocessor. I have decided to port gcc and
binutils. Through discussions with other people who have
ported other architectures and just searching through pages
about ports (especially "Using and Porting GCC" and "Porting
GCC for Dummies") I have come to the stage where I actually
need to start editing some files and I was wondering if I
could run the basic steps in porting by to see if I have the
right idea about the porting process.
Firstly I would start by porting binutils so that I can have
an assembler and a linker that will be able to produce valid
object and binary code for the architecture from assembler
code. Is this correct?
Secondly once I have the above tools working I can start
porting gcc since all gcc does is convert HLL code (like c)
to assembler code, and then it calls the binutils to
complete the compilation fo the program. Is this correct?
If anyone is slightly interested in this project of porting
gcc and binutils for the 80196KC could they let me know as I
would appreciate any help, even just with any experience
with the basics of the porting process.
Thankyou very much for any feedback.
Simon Reynolds. <spr03@ozemail.com.au>