Thanks Peter, that did the trick

Regards,
Eugen
Peter Turczak wrote:
Hi Eugen,

maybe you could use
m68k-elf-gcc -o test test.c -elf2flt -m5200
See
m68k-elf-gcc --target-help
for further supported Instructionsets.

Regards,
  Peter

On Jan 9, 2009, at 10:25 AM, Eugen Stoianovici wrote:

I get the "Illegal Instruction" error message with m68k-uclinux-gcc also. I'm really lost here
Thanks
Adamson, John wrote:
Shouldn't it be m68k-uclinux-gcc ?

John

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Eugen Stoianovici
Sent: Thursday, January 08, 2009 4:38 AM
To: uClinux list
Subject: [uClinux-dev] application development for a coldfire m5272 platform


Hi,
I'm trying to compile and run a simple "hello world" program on a uclinux device and i'm not sure where i should start from.

The platform:
#cat /proc/cpuinfo
CPU:      COLDFIRE(m5272)
MMU:   NONE
FPU:      NONE
Clocking:   47.4MHz
BogoMips:   31.64
Calibration:   15820800 loops

#uname
uClinux 2.4.19-uc1 m68knommu

The development machine is a ubuntu 2.6.24 machine where i've installed the m68k-tools found on uclinux.org.

i'm compiling with
m68k-elf-gcc -o test test.c -elf2flt

when running the test binary on the test machine i get a "Illegal Instruction" message.

If someone could point me in the right direction, please do so

Thank you
_______________________________________________
uClinux-dev mailing list
[email protected] http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see: http://mailman.uclinux.org/mailman/options/uclinux-dev



_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev



_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev


_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to