I'm using the crosstool as provided from here by osm0sis
However, I'm running into issues.
I cannot compile a c/cpp file, it won't produce the output object .o file. Instead, the compiler errors and display "error: spawn: Exec format error", I'm not quite sure what it means though.
I use i686-unknown-linux-gnu-c++ to compile from Windows 8.1 x64.
But, when I use i686-unknown-linux-gnu-cpp, it will compile, and produce an .o ANSI file (not binary, but with all classes, structs and so on), but is invalid for ELF.
I noticed that in the archive provided by osm0sis, there are 0Kb exe file like, i686-unknown-linux-gnu-g++.exe. Are they left there willingly or is the archive somehow "corrupted" ?
Is there any possible solutions, and did someone already had this kind of this issue ?