for linux system. there is always some solution,
what u need to do is to be patient. check the notice/log information,
find out what's wrong, a problem always caused by a reason.
when you find it out, ur 50% succeed.
just like the cross toolchain not working for buildroot problem.
some 'gcc cannot generate execute file' error when configuring
just check the config.log and you'll find out what's wrong.
maybe crt1.o missing, libc.so.6 missing, just adjust your tool chain,
some library location or some compiler location or your deve enviorment will solve the problem.
and programming windows is pain for me .