Praveen Chandrasekharaiah <[EMAIL PROTECTED]> writes: > 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
That's odd. Sorry to ask what's probably a patronising question, but are you sure this is also the binary you're running on the board? I used the same commands as you, again with 4.1-32, and got a binary of the same size. For reference, its md5sum is: 5a4947b1dc267e58d99f85192b383dc2 hello And the binary works fine for me: # /hello Hello this is my First uClinux C++ Application And David says it worked for him too. Richard _______________________________________________ uClinux-dev mailing list uClinux-dev@uclinux.org http://mailman.uclinux.org/mailman/listinfo/uclinux-dev This message was resent by uclinux-dev@uclinux.org To unsubscribe see: http://mailman.uclinux.org/mailman/options/uclinux-dev