Hi,
I believe you use the toolchain found on uclinux.org, right? Either the
prebuilt one or you built it from source.
Well, it doesn't work with C++, simple as that. A hello world in C++ will
produce the relocation error you describe.
But the solution is simple; use the CodeSourcery toolchain
Quoth [EMAIL PROTECTED]:
I have made an hello world application in c++ that when run on the
board returns the message : BINFMT_FLAT: reloc outside program
0xb658 (0 - 0x19504/0xdde0), killing hello!
[...]
ucfront-g++ m68k-elf-g++ -m5307 -DCONFIG_COLDFIRE -Wl,--fatal-warnings
-Wl,-elf2flt
Yes, that's true as well. But I think that the chances of getting C++ to
work is greater with CodeSourcery's toolchain. I experienced the same
relocation problem when linking statically.
Harry
On Thu, Feb 28, 2008 at 1:23 PM, Gavin Lambert [EMAIL PROTECTED]
wrote:
Quoth [EMAIL PROTECTED]:
I