Praveen Chandrasekharaiah <[EMAIL PROTECTED]> writes:
> 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

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
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

Reply via email to