makefile for ColdFire

Nov 16, 2006 1 Replies

Hi



Can anyone lead me to a tutorial to write a simple Makefile for ColdFire Processors???



regards



techie



Krish,

neither of your two previous questions have really made much sense.

snipped-for-privacy@gmail.com wrote: >

#include main() { printf ("Hello World!\n"); }

same applies for Makefiles, most correctly written makefiles will compile and link code for a Coldfire too.

You just need to ensure you're running m68k-elf-gcc as your gcc. You can either change the makefile manually to call this, or set it up in your shell environment variables.

If you run a cross compiling build system, it does this for you already. There are lots of these that work for coldfire processors already, including our own snapgear linux, which i've already recommended to you.

regards,

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | Damion de Soto -------------------------------------------------- | Software Engineer email: Damion_deSoto@au.securecomputing.com | Secure Computing Corporation web: http://www.securecomputing.com | fax: +61 7 3891 3630 ph: +61 7 3435 2809 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ---- Free Embedded Linux Distro at http://www.snapgear.org ----

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required