Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

How do I cross-compile for a Motorola 68000? The GCC main pages list gcc -m68000 as an option http://gcc.gnu.org/onlinedocs/gcc-4.0.4/gcc/M680x0-Options.html#M680x0-Options, but when I do gcc -m68000 test.c it won't work (unknown option). In the past when I cross-compiled I used avr-gcc or msp-gcc, each needing a separate package to be downloaded, but I do not see the like for the m68000. Any ideas? Thanks

share|improve this question
1  
The switch does not imply that the m68000 back end is present. You should track dowm some GNU toolchain for the m68000 and download it. Then decide if you want to install into any system areas, or keep everything in your own directory and set up the environment variables to run the programs. –  ubfan1 Jan 15 '13 at 5:27

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.