The command line i used was:
*m68k-elf-g++ -Wl,-elf2flt=-z -m5307 -msep-data -o hello hello.cpp
-lstdc++ -lc -lgcc*
When i use the gcc command line the following error results
* m68k-elf-gcc -Wl,-elf2flt -m5307 -msep-data -o hello hello.cpp
-lstdc++ -lc -lgcc
hello.elf2flt: In function `void std::__convert_to_v<float>(char const*,
float&, std::_Ios_Iostate&, int* const&)':
/home/gerg/src/gnu/m68k-elf/autobuild/m68k-uclinux-gcc/m68k-uclinux/m5307/msep-data/libstdc++-v3/src/c++locale.cc:65:
undefined reference to `finitef'
collect2: ld returned 1 exit status*
Richard Sandiford wrote:
Praveen Chandrasekharaiah <[EMAIL PROTECTED]> writes:
I downloaded Sourcery G++ Lite 4.1-32 for coldfire uClinux and
compiled. But i still get the same error: BINFMT_FLAT: reloc outside
program
Exactly what command line are you using? Was it the same as David's:
m68k-uclinux-gcc -Wl,-elf2flt -m5307 -msep-data -o hello hello.cpp
-lstdc++ -lc -lgcc
?
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