The m68-elf command is a link to m68k-uclinux in my current setting.
*lrwxrwxrwx 1 root root 16 Mar 15 06:24 m68k-elf-g++ ->
m68k-uclinux-g++
lrwxrwxrwx 1 root root 16 Mar 15 06:24 m68k-elf-gcc ->
m68k-uclinux-gcc*
I just download the toolchain binary from
http://www.codesourcery.com/gnu_toolchains/coldfire/download.html
I am currently using the binaries from /freescale-coldfire-4.1/bin folder.
*m68k-uclinux-g++ -Wl,-elf2flt -m5307 -msep-data -o hello hello.cpp
-lstdc++ -lc -lgcc
m68k-uclinux-gcc -Wl,-elf2flt -m5307 -msep-data -o hello hello.cpp
-lstdc++ -lc -lgcc*
Now both the above commands compile and create a binary
*-rwxr--r-- 1 root root 506344 Apr 23 13:24 hello*
Richard Sandiford wrote:
You should be using the m68k-uclinux toolchain rather than the m68k-elf one.
(To be honest, I'm surprised that the m68k-elf commands above worked as
well as they did. They must have been pulling things like elf2flt from
your environment.)
To be clear: did you download the binaries, or try to rebuild from source?
Richard
_______________________________________________
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