Re: makefile for ColdFire
- From: Damion de Soto <damion@xxxxxxxxxxxx>
- Date: Fri, 17 Nov 2006 09:51:39 +1000
Krish,
neither of your two previous questions have really made much sense.
techie.embedded@xxxxxxxxx wrote:
>
> I'm looking for some Example Codes for MCF5282( ColdFire ). Will be
> great if someone can help me start off by sharing their codes here.
nearly any source code can be compiled for the Coldfire processor.
e.g. Hello World in C
#include <stdio.h>
main() {
printf ("Hello World!\n");
}
Can anyone lead me to a tutorial to write a simple Makefile forsame applies for Makefiles, most correctly written makefiles will
ColdFire Processors???
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@xxxxxxxxxxxxxxxxxxxxxx
| 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 ----
.
- References:
- makefile for ColdFire
- From: techie.embedded@xxxxxxxxx
- makefile for ColdFire
- Prev by Date: Re: Build embedded Linux system on ARM based board
- Next by Date: Re: polling
- Previous by thread: makefile for ColdFire
- Index(es):
Relevant Pages
|