Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,806,560 Members 54,468 Now Online
XDA Developers Android and Mobile Development Forum

crosstool-ng : Exec format error

Tip us?
 
Kdeon
Old
(Last edited by Kdeon; 30th August 2014 at 11:04 PM.)
#1  
Junior Member - OP
Thanks Meter 0
Posts: 2
Join Date: Aug 2014
Default crosstool-ng : Exec format error

Hey,

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 ?

Regards.
 
Kdeon
Old
#2  
Junior Member - OP
Thanks Meter 0
Posts: 2
Join Date: Aug 2014
The thread just got drown... Is this the appropriate section to ask this anyway?
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes