
Hi Alexey,
[...]
In case someone needs that (before the Makefile changes are accepted), I used the
make HOSTCC='arm-none-linuex-gnueabi-gcc -static' env command to get it working.
We usually do put options into the HOSTCC variable. Of course one can argue about that, but the make documentation says about CC:
`CC' Program for compiling C programs; default `cc'.
and about
`CFLAGS' Extra flags to give to the C compiler.
So maybe you can do the same in a cleaner way like
make HOSTCC='arm-none-linux-gnueabi-gcc' HOSTCFLAGS='-static' env
Don't get me wrong, I don't want to win a beauty contest, but my experience tells me that such "oh this works for me" quick and dirty solutions tend to build up "debt" that can be hard to pay later on ;)
Cheers Detlev