adamh wrote:So should I check GCC settings?
During the compilation of gcc and probably newlib, you have to pass the "--with-float=soft" parameter to gcc's configure. In addition, you have to patch one little gcc file, to enable interworking.
Andy: you have a little shell script to built a toolchain. We should publish that on the Wiki.
Do you all compile nxtvm on Linux or do you have some programmer who works on Windows with some pre-compiled toolchain like GNUARM or YAGARTO like me? I don't have Linux PC and I can't run it on my computer since I don't have enough disk space
I have absolutely no experience with pre-compiled toolchains. If I had to work on Windows, that I would most likely use Cygwin to have a suitable Linux-like environment. I have no idea, whether a arm-elf toolchain will actually build on Cygwin, but I'm quite optimistic.
EDIT: erros in my code are in libraries like libgcc.a, they might be compiled for other FP options, like you wrote. Could you send me your libraries (maybe everything in library where libgcc.a is stored)? I'll try to replace them and re-compile, it might be the easiest way. My e-mail is a.heinrich ( a t ) seznam.cz, please write some text into th body of the mail, orelse it will be sent to bin by my stupid spamfilter
GCC would do a MUCH better job if it told you, that it didn't support software-floats. That's because hardware-floats is the default. Passing "--with-float=soft" to gcc's configure will tell gcc to support software-floats ONLY.
: just found the script used by the NXOS project:
http://github.com/danderson/nxos/blob/m ... olchain.sh
It should do the job. You might want skip the GDB part and you might want to use GCC 4.3.4 instead of 4.4.x.