This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

How to add a new target?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]