How to add a new target?

Alexander Stante stante@gmail.com
Fri Aug 20 11:58:00 GMT 2004


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



More information about the Gcc-help mailing list