Tell me more ×
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 motorolla 68000? The GCC man 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 doesn't work (unknown option). In the past when I cross compile I've used avr-gcc or msp-gcc, each needing a seperate packaged to be downloaded, but I do not see the like for the m68000. Any ideas? Thanks

share|improve this question
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 at 5:27

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

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.