This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
How to add a new target?
- From: Alexander Stante <stante at gmail dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Fri, 20 Aug 2004 10:02:59 +0200
- Subject: How to add a new target?
- Reply-to: Alexander Stante <stante at gmail dot com>
Hello,
I want to add a new target to the gcc. It has a m68k CPU and I have
already written the necessary files like a crt0.S and a linker script
to correctly compile on that machine.
My goal is that I can build a gcc with for example
--target=m68k-mymachine-elf and that the gcc then uses my crt0 and
linker script (and a spec file which I still have to write). How can I
achieve that? Is there some documentation about that?
Bye
Alex